fix issues with home and tv
This commit is contained in:
parent
7d188d8621
commit
bd5b6f8230
1 changed files with 4 additions and 0 deletions
|
@ -2350,6 +2350,7 @@ Ox.VideoPlayer = function(options, self) {
|
||||||
if (key == 'find') {
|
if (key == 'find') {
|
||||||
setSubtitleText();
|
setSubtitleText();
|
||||||
} else if (key == 'fullscreen') {
|
} else if (key == 'fullscreen') {
|
||||||
|
self.options.fullscreen = !self.options.fullscreen;
|
||||||
toggleFullscreen();
|
toggleFullscreen();
|
||||||
} else if (key == 'height' || key == 'width') {
|
} else if (key == 'height' || key == 'width') {
|
||||||
setSizes();
|
setSizes();
|
||||||
|
@ -2357,8 +2358,10 @@ Ox.VideoPlayer = function(options, self) {
|
||||||
self.options.paused && setMarkers();
|
self.options.paused && setMarkers();
|
||||||
self.$timeline && self.$timeline.options(key, value);
|
self.$timeline && self.$timeline.options(key, value);
|
||||||
} else if (key == 'muted') {
|
} else if (key == 'muted') {
|
||||||
|
self.options.muted = !self.options.muted;
|
||||||
toggleMuted();
|
toggleMuted();
|
||||||
} else if (key == 'paused') {
|
} else if (key == 'paused') {
|
||||||
|
self.options.paused = !self.options.paused;
|
||||||
togglePaused();
|
togglePaused();
|
||||||
} else if (key == 'position') {
|
} else if (key == 'position') {
|
||||||
setPosition(value);
|
setPosition(value);
|
||||||
|
@ -2367,6 +2370,7 @@ Ox.VideoPlayer = function(options, self) {
|
||||||
} else if (key == 'resolution') {
|
} else if (key == 'resolution') {
|
||||||
setResolution();
|
setResolution();
|
||||||
} else if (key == 'scaleToFill') {
|
} else if (key == 'scaleToFill') {
|
||||||
|
self.options.scaleToFill = !self.options.scaleToFill;
|
||||||
toggleScale();
|
toggleScale();
|
||||||
} else if (key == 'sizeIsLarge') {
|
} else if (key == 'sizeIsLarge') {
|
||||||
self.$sizeButton.toggle();
|
self.$sizeButton.toggle();
|
||||||
|
|
Loading…
Reference in a new issue