forked from 0x2620/oxjs
in button, react to change of tooltip option
This commit is contained in:
parent
da7e0b73e0
commit
e6b634ddef
2 changed files with 4 additions and 1 deletions
|
|
@ -2126,6 +2126,9 @@ Ox.VideoPlayer = function(options, self) {
|
|||
}
|
||||
|
||||
function togglePaused(from) {
|
||||
if (!self.loadedMetadata) {
|
||||
return;
|
||||
}
|
||||
self.options.paused = !self.options.paused;
|
||||
self.$timeline && self.$timeline.options({
|
||||
paused: self.options.paused
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue