Skip to content

Commit

Permalink
fix #299: fixed seek intervals
Browse files Browse the repository at this point in the history
  • Loading branch information
saerdnaer committed Jan 13, 2019
1 parent d8376a7 commit 27cf1bd
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions vendor/assets/javascripts/mediaelement-and-player.js
Original file line number Diff line number Diff line change
Expand Up @@ -3499,11 +3499,13 @@ var config = exports.config = {
defaultAudioHeight: 40,

defaultSeekBackwardInterval: function defaultSeekBackwardInterval(media) {
return media.getDuration() * 0.05;
//return media.getDuration() * 0.05;
return 15;
},

defaultSeekForwardInterval: function defaultSeekForwardInterval(media) {
return media.getDuration() * 0.05;
//return media.getDuration() * 0.05;
return 30;
},

setDimensions: true,
Expand Down

0 comments on commit 27cf1bd

Please sign in to comment.