This commit is contained in:
Brooke Vibber 2021-10-27 12:40:02 -07:00
parent ab5cdb61c2
commit 10a001d01c

View file

@ -114,7 +114,8 @@
} }
</script> </script>
<script src=ogvjs-1.8.4/ogv.js></script> <script src=ogvjs-1.8.4/ogv.js></script>
<script src=video-js/video.js></script> <script src=video-js/alt/video.core.js></script>
<script src=videojs-http-streaming.es.js></script>
<script src=videojs-ogvjs.js></script> <script src=videojs-ogvjs.js></script>
<script> <script>
var playerConfig = { var playerConfig = {
@ -137,10 +138,7 @@
var aac = can('audio/mp4; codecs="mp4a.40.02'); var aac = can('audio/mp4; codecs="mp4a.40.02');
var mp3 = can('audio/mp3'); var mp3 = can('audio/mp3');
//var mp3 = can('audio/mp4; codecs="mp4a.40.34"'); //var mp3 = can('audio/mp4; codecs="mp4a.40.34"');
//var mse = vp9 && (opus || mp3); var mse = vp9 && (opus || mp3);
//var mse = vp9 && mp3;
//var mse = vp9 && aac;
var mse = vp9 && opus;
if (mse) { if (mse) {
// enable streaming plugin // enable streaming plugin
playerConfig.html5.vhs = { playerConfig.html5.vhs = {