Index: branches/MwEmbedStandAlone/modules/EmbedPlayer/mw.EmbedPlayer.js |
— | — | @@ -1193,9 +1193,9 @@ |
1194 | 1194 | */ |
1195 | 1195 | hasStreamOfMIMEType: function( mimeType ) |
1196 | 1196 | { |
1197 | | - for ( source in this.sources ) |
| 1197 | + for ( var i = 0; i < this.sources.length; i++ ) |
1198 | 1198 | { |
1199 | | - if ( this.sources[source].getMIMEType() == mimeType ){ |
| 1199 | + if ( this.sources[i].getMIMEType() == mimeType ){ |
1200 | 1200 | return true; |
1201 | 1201 | } |
1202 | 1202 | } |