Hello JW Player,
Problem statement is as mentioned below.
Video: http://clips.vorwaerts-gmbh.de/big_buck_bunny.mp4
User case: When player is ready, we are seeking to 15th sec and pausing a video programatically.
Code:
$scope.$on('ng-jwplayer-ready', function(event, args) {
$log.info('Player ' + args.playerId + ' ready. Playing video');
var player = jwplayerService.myPlayer[args.playerId];
player.seek(15).pause(true);
});
Problem: JW player stops video at 15 sec but does not update elapsed time and video progress. If we play a video, it immediately updates elapsed time at 15 secs and video progress bar as well.
Expected Result: JW player should immediately update elapsed time to 15 secs and also update progress bar. It should not wait to start a video.
Let me know if I am doing anything wrong with my code.
↧