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); var mse = vp9 && (opus || mp3);
if (mse) { if (mse) {
// enable streaming plugin // enable streaming plugin
playerConfig.html5.vhs = { playerConfig.html5 = {
overrideNative: true, vhs: {
useDevicePixelRatio: true overrideNative: true,
useDevicePixelRatio: true
},
nativeAudioTracks: false,
nativeVideoTracks: false
}; };
playerConfig.html5.featuresNativeVideoTracks = true;
playerConfig.html5.featuresNativeAudioTracks = true;
console.log('will do mse'); console.log('will do mse');
} else { } else {
console.log('wont do mse'); console.log('wont do mse');