![](https://secure.gravatar.com/avatar/74a4a7c6940ad80292b13305ed2eb2ce?rating=PG&size=50&default=https%3A%2F%2Fcdn.desk.com%2Fassets%2Funknown_user_50-8ad5644bbe6b1bd7454f2ea465f782bd.png)
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");
} );