Index: branches/js2-work/phase3/js/mwEmbed/modules/EmbedPlayer/mw.EmbedPlayer.js |
— | — | @@ -999,7 +999,12 @@ |
1000 | 1000 | mw.log( 'f:autoSelectSource:' + playableSources[source].mimeType ); |
1001 | 1001 | var mimeType = playableSources[source].mimeType; |
1002 | 1002 | // set source via player |
1003 | | - if ( mimeType == 'video/ogg' || mimeType == 'ogg/video' || mimeType == 'video/annodex' || mimeType == 'application/ogg' ) { |
| 1003 | + if ( mimeType == 'video/ogg' |
| 1004 | + || mimeType == 'ogg/video' |
| 1005 | + || mimeType == 'video/annodex' |
| 1006 | + || mimeType == 'application/ogg' |
| 1007 | + || mimeType == 'video/theora' |
| 1008 | + ) { |
1004 | 1009 | for ( var i = 0; i < mw.EmbedTypes.players.players.length; i++ ) { // for in loop on object oky |
1005 | 1010 | var player = mw.EmbedTypes.players.players[i]; |
1006 | 1011 | if ( player.library == 'vlc' || player.library == 'native' ) { |