mirror of
https://github.com/videojs/video.js.git
synced 2025-01-02 06:32:07 +02:00
Fixe for an apparent play button state issue.
This commit is contained in:
parent
6bd7473f13
commit
964163aedc
7
video.js
7
video.js
@ -492,6 +492,13 @@ var VideoJS = Class.extend({
|
||||
// Backup for when the user only clicks and doesn't drag
|
||||
onProgressHolderMouseUp: function(event){
|
||||
this.setPlayProgressWithEvent(event);
|
||||
|
||||
// Fixe for an apparent play button state issue.
|
||||
if (this.video.paused) {
|
||||
this.onPause();
|
||||
} else {
|
||||
this.onPlay();
|
||||
}
|
||||
},
|
||||
|
||||
// Adjust the volume when the user drags on the volume control
|
||||
|
Loading…
Reference in New Issue
Block a user