Closed chrwdev closed 8 years ago
Hi, this directive handles events? (Play, Pause, Complete)
Example (not working) jwplayer( 'play_video' ).on('pause', function() { console.log( 'pause' ); });
Thanks!
Solved!
$scope.$on('ng-jwplayer-ready', function(event, args) { var player = jwplayerService.myPlayer[args.playerId]; player.on('pause', function() { console.log( 'pause' ); }); });
Hi, this directive handles events? (Play, Pause, Complete)
Example (not working) jwplayer( 'play_video' ).on('pause', function() { console.log( 'pause' ); });
Thanks!