Quantcast
Channel: Active questions tagged youtube-api - Stack Overflow
Viewing all articles
Browse latest Browse all 3638

YouTube API returning null when requesting video contentDetails.duration

$
0
0

For the application I'm developing, I need to know the duration of certain YouTube-videos. I'm using the Java libs for the YouTube API V3.

Requesting Video.List to get videos ContentDetails I got duration for some videos, but sometimes it is 'null' for others.

What could be the cause of this issue? I'm not getting any errors from the API, but properties like the duration are not in the response.


Viewing all articles
Browse latest Browse all 3638

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>