Skip to content

Commit

Permalink
Merge pull request mediaelement#678 from poul-kg/FixStopButtonBug
Browse files Browse the repository at this point in the history
Fix for Issue mediaelement#676 when Stop button does not behaves as expected in selected browsers
  • Loading branch information
johndyer committed Dec 20, 2012
2 parents 0409620 + 24cfe59 commit 7ecb26c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/js/mep-feature-stop.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
media.pause();
}
if (media.currentTime > 0) {
media.setCurrentTime(0);
media.setCurrentTime(0);
media.pause();
controls.find('.mejs-time-current').width('0px');
controls.find('.mejs-time-handle').css('left', '0px');
controls.find('.mejs-time-float-current').html( mejs.Utility.secondsToTimeCode(0) );
Expand Down

0 comments on commit 7ecb26c

Please sign in to comment.