1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

fixed bug with the video controls

This commit is contained in:
Techywarrior 2013-04-05 19:44:57 -07:00
parent 7597f1e08b
commit 3de0a457b4
2 changed files with 9 additions and 2 deletions

View file

@ -316,6 +316,13 @@
player.tech.removeTriggers();
player.load();
}
//remove custom buttons
_V_.ControlBar.prototype.options.components.ResolutionSelectorButton;
delete _V_.ControlBar.prototype.options.components.SubtitleSelectorButton;
delete _V_.ControlBar.prototype.options.components.LanguageSelectorButton;
delete _V_.ControlBar.prototype.options.components.ChapterSelectorButton;
//player.tech.destroy();
player.destroy();
} else {