tweak tweak
This commit is contained in:
parent
949ec8e2a8
commit
ed51ea3c37
1 changed files with 7 additions and 5 deletions
8
ogv.html
8
ogv.html
|
@ -141,12 +141,14 @@
|
|||
var mse = vp9 && (opus || mp3);
|
||||
if (mse) {
|
||||
// enable streaming plugin
|
||||
playerConfig.html5.vhs = {
|
||||
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');
|
||||
|
|
Loading…
Reference in a new issue