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.tech.removeTriggers();
player.load(); 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.tech.destroy();
player.destroy(); player.destroy();
} else { } else {

View file

@ -17,9 +17,9 @@ var videoJSextension = {
vjs_sources = [], // This will be an array of arrays of objects, see the video.js api documentation for myPlayer.src() vjs_sources = [], // This will be an array of arrays of objects, see the video.js api documentation for myPlayer.src()
vjs_source = {}, vjs_source = {},
vjs_chapters = [], // This will be an array of arrays of objects, see the video.js api documentation for myPlayer.src() vjs_chapters = [], // This will be an array of arrays of objects, see the video.js api documentation for myPlayer.src()
vjs_chapter = {}; vjs_chapter = {},
vjs_languages = [], // This will be an array of arrays of objects, see the video.js api documentation for myPlayer.src() vjs_languages = [], // This will be an array of arrays of objects, see the video.js api documentation for myPlayer.src()
vjs_language = {}; vjs_language = {},
vjs_subtitles = [], // This will be an array of arrays of objects, see the video.js api documentation for myPlayer.src() vjs_subtitles = [], // This will be an array of arrays of objects, see the video.js api documentation for myPlayer.src()
vjs_subtitle = {}; vjs_subtitle = {};