tweak tweak

This commit is contained in:
Brooke Vibber 2021-11-01 10:51:34 -07:00
parent 949ec8e2a8
commit ed51ea3c37

View file

@ -141,12 +141,14 @@
var mse = vp9 && (opus || mp3);
if (mse) {
// enable streaming plugin
playerConfig.html5.vhs = {
overrideNative: true,
useDevicePixelRatio: true
playerConfig.html5 = {
vhs: {
overrideNative: true,
useDevicePixelRatio: true
},
nativeAudioTracks: false,
nativeVideoTracks: false
};
playerConfig.html5.featuresNativeVideoTracks = true;
playerConfig.html5.featuresNativeAudioTracks = true;
console.log('will do mse');
} else {
console.log('wont do mse');