mirror of
https://github.com/videojs/video.js.git
synced 2025-07-13 01:30:17 +02:00
Auto rewind on big button play click
This commit is contained in:
1
src/controls.js
vendored
1
src/controls.js
vendored
@ -167,6 +167,7 @@ _V_.BigPlayButton = _V_.Button.extend({
|
||||
},
|
||||
|
||||
onClick: function(){
|
||||
this.player.currentTime(0);
|
||||
this.player.play();
|
||||
}
|
||||
});
|
||||
|
Reference in New Issue
Block a user