tweak tweak
This commit is contained in:
parent
949ec8e2a8
commit
ed51ea3c37
1 changed files with 7 additions and 5 deletions
12
ogv.html
12
ogv.html
|
@ -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');
|
||||||
|
|
Loading…
Reference in a new issue