testing audio-only version
this will avoid triggering the error
This commit is contained in:
parent
9d782dc963
commit
949ec8e2a8
2 changed files with 11 additions and 3 deletions
4
ogv.html
4
ogv.html
|
|
@ -145,6 +145,8 @@
|
|||
overrideNative: true,
|
||||
useDevicePixelRatio: true
|
||||
};
|
||||
playerConfig.html5.featuresNativeVideoTracks = true;
|
||||
playerConfig.html5.featuresNativeAudioTracks = true;
|
||||
console.log('will do mse');
|
||||
} else {
|
||||
console.log('wont do mse');
|
||||
|
|
@ -181,6 +183,7 @@
|
|||
hls1.classList.add('vjs-default-skin');
|
||||
var vjs1 = videojs(hls1, playerConfig);
|
||||
|
||||
/*
|
||||
vjs1.on('error', function failover() {
|
||||
console.log('got error');
|
||||
var error = vjs1.error();
|
||||
|
|
@ -198,6 +201,7 @@
|
|||
}
|
||||
vjs1.off('error', failover);
|
||||
});
|
||||
*/
|
||||
|
||||
// this fails on Chrome with a blob issue on the HLS player :D
|
||||
//vjs1.load();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue