JavaScript API

idm auto downloading

i have problem when play a video ، download manager start and when i cancel downloading ، the player show file not how I resolve the problem?

Show other playlist item on error

Hello, when player can't play source it will generate onError event. In that event I want to show next playlist item. Player only changes info but does not start playing this new item. jwplayer(...

OnMeta event is not working across mobile browsers

I'm trying to get HLS stream's meta information i.e. bandwidth, bitrate etc. with JWPlayer 6.11 but it seems that meta event is only expected to work in Desktop browser as for mobile browser in HTML5 ...

.on('meta') not work on jwplayer 7

.on('meta') not work on jwplayer 7, i have trying on many versions like, 7.1, 7.2, my code are below, <!DOCTYPE html> <html lang="en"> <script> </script>...

getDuration() always returns 0

Hello, I need to get total duration of the video. I saw previous ticket with the same question but doesn't look like it was answered in months. I need this functionality. Please help how I can get the tota...

onTime is not working with live streaming

Hi team, The requirement is to get current time of video being played. However onTime event is working fine with youtube links but not with live streaming url. Its console value only once. onTime:funct...

Migrated from 6 to 7 - javascript stopped working

Hello, I have two players on this page extremesailingseries.com/live. When I was using version 6 of JWPlayer I used some Javascript to load a local video if the player had an error. This error would occur if...

player.load() fails when seeked in previous video

Hi. I am using JW7, RTMP Streams with signed URLs via Amazon Cloudfront. I have built custom controls and a custom playlist. Playing a video and then automatically/manually loading another video works. But...

Audio during Slow motion playback

I see that YouTube supports audio playback during slow motion playback. is it possible to play audio during slow motion playback using JW player? Currently there is no audio when slow motion video playback is...