Skip to content

Commit

Permalink
Update jquery.cue.js to 1.2.3.
Browse files Browse the repository at this point in the history
  • Loading branch information
bradyvercher committed Oct 16, 2017
1 parent bbb8bab commit feabf3f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions assets/js/vendor/jquery.cue.js
@@ -1,5 +1,5 @@
/*!
* jquery.cue.js - 1.2.2
* jquery.cue.js - 1.2.3
* Playlist and other functionality for MediaElement.js
* https://audiotheme.com/
*
Expand Down Expand Up @@ -695,8 +695,8 @@ window.cue = window.cue || {};

duration = player.options.duration > 0 ? player.options.duration : player.media.duration;
if ( ! isNaN( duration ) ) {
durationTimeCode = utils.secondsToTimeCode( duration, player.options.alwaysShowHours, player.options.showTimecodeFrameCount, player.options.framesPerSecond || 25 );
currentTimeCode = utils.secondsToTimeCode( player.media.currentTime, player.options.alwaysShowHours || player.media.duration > 3600, player.options.showTimecodeFrameCount, player.options.framesPerSecond || 25 );
durationTimeCode = utils.secondsToTimeCode( duration, player.options.alwaysShowHours, player.options.showTimecodeFrameCount, player.options.framesPerSecond || 25, player.options.secondsDecimalLength || 0, player.options.timeFormat || 'm:ss' );
currentTimeCode = utils.secondsToTimeCode( player.media.currentTime, player.options.alwaysShowHours || player.media.duration > 3600, player.options.showTimecodeFrameCount, player.options.framesPerSecond || 25, player.options.secondsDecimalLength || 0, player.options.timeFormat || 'm:ss' );

this.$duration.text( durationTimeCode );
this.$playBar.width( player.media.currentTime / duration * 100 + '%' );
Expand Down

0 comments on commit feabf3f

Please sign in to comment.