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

Elapsed time does not update if JW player is seeked to nth sec and paused immediately!


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.

0 Community Answers

This question has received the maximum number of answers.