Back to Blog
Jplayer download to mp37/11/2023 ![]() Then you would have problems with the durationchange event, where it does not update the html mediaduration before the event occurs. If you use the same instance, you will only need it the 1st time. 1st you need to get a user event to trigger a load/play operation. SetMedia with preload="metadata" (default) and then the handler will call the callback with the duration when it happens. To do it with jPlayer as it is now, you would need to check which solution is being used.įlash: Set Media, load, use the timeupdate event to check for seekPercent = 100, then call the callback function with the duration. In practice, the Flash does not generate this for MP3 and iOS is a bit wobbly with the duration when you change the media. In theory you'd want to attach a callback function to the durationchange event.
0 Comments
Read More
Leave a Reply. |