Index: branches/js2-work/phase3/js/mwEmbed/skins/mvpcf/EmbedPlayer.css |
— | — | @@ -4,8 +4,8 @@ |
5 | 5 | |
6 | 6 | /*Video player*/ |
7 | 7 | .mv-player { |
8 | | - color: #000; |
9 | | - background: #FFF; |
| 8 | + color: #FFF; |
| 9 | + background: #000; |
10 | 10 | } |
11 | 11 | |
12 | 12 | /* large play button: */ |
Index: branches/js2-work/phase3/js/mwEmbed/modules/EmbedPlayer/mw.EmbedPlayer.js |
— | — | @@ -609,6 +609,14 @@ |
610 | 610 | this.mimeType = this.detectType( this.src ); |
611 | 611 | } |
612 | 612 | |
| 613 | + // Conform the mime type to ogg |
| 614 | + if( this.mimeType == 'video/theora') { |
| 615 | + this.mimeType = 'video/ogg'; |
| 616 | + } |
| 617 | + |
| 618 | + if( this.mimeType == 'audio/vorbis') { |
| 619 | + this.mimeType = 'audio/ogg'; |
| 620 | + } |
613 | 621 | |
614 | 622 | // Check for parent elements ( supplies categories in "itext" ) |
615 | 623 | if( $j( element ).parent().attr('category') ) { |
— | — | @@ -2357,7 +2365,7 @@ |
2358 | 2366 | }) |
2359 | 2367 | ); |
2360 | 2368 | |
2361 | | - if ( this.controls == true |
| 2369 | + if ( this.controls |
2362 | 2370 | && this.height > this.ctrlBuilder.getComponentHeight( 'playButtonLarge' ) |
2363 | 2371 | ) { |
2364 | 2372 | $j( this ).append( |