Added newline to videojs lib

This commit is contained in:
Cat 2016-12-06 15:19:16 +01:00 committed by Thulinma
parent 1c0fd833bb
commit d5c526173b
3 changed files with 7 additions and 4 deletions

View file

@ -883,6 +883,9 @@ function mistPlay(streamName,options) {
}); });
} }
//monitor for errors
//TODO
if (player.resize) { if (player.resize) {
//monitor for resizes and fire if needed //monitor for resizes and fire if needed
window.addEventListener('resize',function(){ window.addEventListener('resize',function(){

File diff suppressed because one or more lines are too long

View file

@ -84,10 +84,10 @@
streams = []; streams = [];
//streams.push('live'); //streams.push('live');
//streams.push('subtel'); //streams.push('subtel');
streams.push('ogg'); //streams.push('ogg');
//streams.push('vids+mist.mp4'); //streams.push('vids+mist.mp4');
//streams.push('lama'); //streams.push('lama');
//streams.push('bunny'); streams.push('bunny');
for (var j in streams) { for (var j in streams) {
for (var i in tryplayers) { for (var i in tryplayers) {
@ -100,7 +100,7 @@
maxwidth: 800, maxwidth: 800,
forcePlayer: tryplayers[i], forcePlayer: tryplayers[i],
//forceType: 'html5/video/mp4', //forceType: 'html5/video/mp4',
//forceType: 'html5/application/vnd.apple.mpegurl', forceType: 'html5/application/vnd.apple.mpegurl',
//forceType: 'dash/video/mp4', //forceType: 'dash/video/mp4',
//forceSource: 5, //forceSource: 5,
loop: true, loop: true,