forked from 0x2620/oxjs
pass fullscreen option down to and up from video player
This commit is contained in:
parent
0840d0b436
commit
bfac98643d
3 changed files with 14 additions and 1 deletions
|
|
@ -2089,6 +2089,9 @@ Ox.VideoPlayer = function(options, self) {
|
|||
if (self.$fullscreenButton && from != 'button') {
|
||||
self.$fullscreenButton.toggleTitle();
|
||||
}
|
||||
that.triggerEvent('fullscreen', {
|
||||
fullscreen: self.options.fullscreen
|
||||
});
|
||||
}
|
||||
|
||||
function toggleMuted(from) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue