fix issues with home and tv

This commit is contained in:
rlx 2012-02-19 12:58:55 +00:00
parent 7d188d8621
commit bd5b6f8230

View file

@ -2350,6 +2350,7 @@ Ox.VideoPlayer = function(options, self) {
if (key == 'find') {
setSubtitleText();
} else if (key == 'fullscreen') {
self.options.fullscreen = !self.options.fullscreen;
toggleFullscreen();
} else if (key == 'height' || key == 'width') {
setSizes();
@ -2357,8 +2358,10 @@ Ox.VideoPlayer = function(options, self) {
self.options.paused && setMarkers();
self.$timeline && self.$timeline.options(key, value);
} else if (key == 'muted') {
self.options.muted = !self.options.muted;
toggleMuted();
} else if (key == 'paused') {
self.options.paused = !self.options.paused;
togglePaused();
} else if (key == 'position') {
setPosition(value);
@ -2367,6 +2370,7 @@ Ox.VideoPlayer = function(options, self) {
} else if (key == 'resolution') {
setResolution();
} else if (key == 'scaleToFill') {
self.options.scaleToFill = !self.options.scaleToFill;
toggleScale();
} else if (key == 'sizeIsLarge') {
self.$sizeButton.toggle();