r52874 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r52873‎ | r52874 | r52875 >
Date:23:34, 7 July 2009
Author:dale
Status:deferred
Tags:
Comment:
updated oggz_chop (restored ogg as preferred format)
Modified paths:
  • /branches/new-upload/phase3/js2/mwEmbed/libEmbedVideo/embedVideo.js (modified) (history)

Diff [purge]

Index: branches/new-upload/phase3/js2/mwEmbed/libEmbedVideo/embedVideo.js
@@ -903,15 +903,6 @@
904904 return true;
905905 }
906906 }
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 - }
916907 //set Ogg via player support
917908 for(var source=0; source < playable_sources.length; source++){
918909 js_log('f:autoSelectSource:' + playable_sources[source].mime_type);
@@ -928,6 +919,15 @@
929920 }
930921 }
931922 }
 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+ }
932932 //set h264 flash
933933 for(var source=0; source < playable_sources.length; source++){
934934 var mime_type =playable_sources[source].mime_type;

Status & tagging log