Index: branches/new-upload/phase3/js2/mwEmbed/libEmbedVideo/embedVideo.js |
— | — | @@ -903,15 +903,6 @@ |
904 | 904 | return true; |
905 | 905 | } |
906 | 906 | } |
907 | | - //set basic flash |
908 | | - for(var source=0; source < playable_sources.length; source++){ |
909 | | - var mime_type =playable_sources[source].mime_type; |
910 | | - if( mime_type=='video/x-flv' ){ |
911 | | - js_log('set via by player preference normal flash') |
912 | | - this.selected_source = playable_sources[source]; |
913 | | - return true; |
914 | | - } |
915 | | - } |
916 | 907 | //set Ogg via player support |
917 | 908 | for(var source=0; source < playable_sources.length; source++){ |
918 | 909 | js_log('f:autoSelectSource:' + playable_sources[source].mime_type); |
— | — | @@ -928,6 +919,15 @@ |
929 | 920 | } |
930 | 921 | } |
931 | 922 | } |
| 923 | + //set basic flash |
| 924 | + for(var source=0; source < playable_sources.length; source++){ |
| 925 | + var mime_type =playable_sources[source].mime_type; |
| 926 | + if( mime_type=='video/x-flv' ){ |
| 927 | + js_log('set via by player preference normal flash') |
| 928 | + this.selected_source = playable_sources[source]; |
| 929 | + return true; |
| 930 | + } |
| 931 | + } |
932 | 932 | //set h264 flash |
933 | 933 | for(var source=0; source < playable_sources.length; source++){ |
934 | 934 | var mime_type =playable_sources[source].mime_type; |