0
votes

I uploaded my .mov file via the standard YouTube Upload (https://www.youtube.com/upload). The video does contain the geolocation data and the date created, I have confirmed with exiftool.

However, recordingDetails does not come through when testing via https://developers.google.com/youtube/v3/docs/videos/list#try-it.

  1. Does YouTube strip out the recordingDetails if I upload the video at https://www.youtube.com/upload?
  2. Are there restrictions on video types, privacy settings, or anything else that would prevent recordingDetails from being available?
  3. Or, if put differently, are recordingDetailsdetails only available if I manually provide them via my own API upload script?

I'm using a client-side only framework, and trying to accomplish this without relying on a server script that would parse the geolocation from the video.

Thank you!

1

1 Answers

0
votes

It seems that the recordingDetails will only be returned with the videos that have set a recording time. I tried different videoId and I cannot get any result with it. So meaning if the video doesn't have the attributes for it, then the API will not return any data.

From this documentation, the recordingDetails object encapsulates information about the location, date and address where the video was recorded. So you need to manually include it in the video for you to fetch this information.