Quantcast
Channel: support.jwplayer.com :: Streaming
Viewing all articles
Browse latest Browse all 2800

JWPlayer getDuration() returns 0

$
0
0
I am trying to get the duration of an HLS video. From the documentation, I could understand that the getDuration() method returns the duration. But what I get is 0 as the response. I want to get the duration on loading the player(before the video starts running). Is there any solution for this?

Viewing all articles
Browse latest Browse all 2800

Trending Articles



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