r75457 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r75456‎ | r75457 | r75458 >
Date:19:23, 26 October 2010
Author:hartman
Status:deferred
Tags:
Comment:
Fix canplaythrough eventlistener
Modified paths:
  • /branches/MwEmbedStandAlone/modules/EmbedPlayer/mw.EmbedPlayerNative.js (modified) (history)

Diff [purge]

Index: branches/MwEmbedStandAlone/modules/EmbedPlayer/mw.EmbedPlayerNative.js
@@ -174,7 +174,7 @@
175175 return ;
176176 }
177177 // Bind events to local js methods:
178 - vid.addEventListener( 'canplaythrogh', function() { $j( _this ).trigger('canplaythrough'); }, true);
 178+ vid.addEventListener( 'canplaythrough', function() { $j( _this ).trigger('canplaythrough'); }, true);
179179 vid.addEventListener( 'loadedmetadata', function() { _this.onloadedmetadata() }, true);
180180 vid.addEventListener( 'progress', function( e ) { if( _this.onprogress ) { _this.onprogress( e ); } }, true);
181181 vid.addEventListener( 'ended', function() { _this.onended() }, true);

Status & tagging log