Update css/player-base.js

This commit is contained in:
ashley 2025-08-27 10:00:59 +02:00
parent de7000e262
commit 06224ef8ba

View File

@ -16,9 +16,12 @@ var _yt_player = videojs;
preload: 'auto'
});
// enable contrib-quality-levels + source selector
player.httpSourceSelector();
player.controlBar.addChild('QualitySelector');
// initialize the plugin (this injects a menu button into the control bar)
player.httpSourceSelector({
default: 'auto' // shows "Auto" by default
});
// Use your global window.mpdurl
const MPD_URL = window.mpdurl || '';