Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

youtube embedded video .on('seek') event seems not work (Onseek)


My website use jwplayer embedded both self-host video and youtube video,

pause,play event works fine on both case, however seek even can only catch by self-host video .

The two cases are using the same code.

Can somebody tell me what can i do to fix it?

here is my code:

playerInstance = jwplayer("player");
playerInstance.setup({
modes: [
file: '<{$youtuve_url}>',
width: $('#video').width(),
height: $('#video').height(),
autostart: false
});

playerInstance.on('seek',function(event){
console.log("seek");
} );

2 Community Answers

trishainfo

User  
2 rated :

We are also facing the same issue , using the same code as you have used , but looks like jw player does not support this feature .......

sabee77

User  
0 rated :

I am facing the same issue. It would be nice to be able to listen to seek & seeked events for Youtube videos.
thanks!

This question has received the maximum number of answers.