mirror of
https://github.com/kmoskwiak/videojs-resolution-switcher.git
synced 2025-10-03 09:49:21 +02:00
dynamic label hot fix
This commit is contained in:
parent
b120a90942
commit
7153217cb5
1 changed files with 0 additions and 5 deletions
|
@ -34,10 +34,6 @@
|
|||
this.on('touchstart', this.onClick)
|
||||
},
|
||||
onClick: function(){
|
||||
console.log(this.el().parentNode.children)
|
||||
this.el().parentNode.children.forEach(function(el){
|
||||
el.classList.remove('vjs-selected')
|
||||
})
|
||||
// Hide bigPlayButton
|
||||
player.bigPlayButton.hide()
|
||||
// Remember player state
|
||||
|
@ -154,7 +150,6 @@
|
|||
|
||||
// Create resolution switcher for videos form <source> tag inside <video>
|
||||
if(player.options_.sources.length > 1){
|
||||
console.log(player.options_.sources)
|
||||
player.updateSrc(player.options_.sources)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue