r51115 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r51114‎ | r51115 | r51116 >
Date:13:02, 28 May 2009
Author:j
Status:deferred
Tags:
Comment:
remove load event
Modified paths:
  • /branches/new-upload/phase3/js2/mwEmbed/libEmbedVideo/mv_nativeEmbed.js (modified) (history)

Diff [purge]

Index: branches/new-upload/phase3/js2/mwEmbed/libEmbedVideo/mv_nativeEmbed.js
@@ -88,7 +88,8 @@
8989 _this.vid.currentTime = pos;
9090 var once = function(event) { callback(); _this.vid.removeEventListener('seeked', once, false) };
9191 _this.vid.addEventListener('seeked', once, false);
92 - _this.removeEventListener('loadedmetadata', once, false);
 92+
 93+ _this.removeEventListener('loadedmetadata', loaded, false);
9394 };
9495 _this.addEventListener('loadedmetadata', loaded, false);
9596 } else {

Status & tagging log