Permalink
Browse files

[#1313] Fix leaking variable "srcLength" in popcorn.player.js

  • Loading branch information...
1 parent 6d4bd5c commit f38088a1907e65017770a7f223319746a07b12e7 @cadecairos committed Aug 30, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 modules/player/popcorn.player.js
@@ -345,7 +345,7 @@
// it will default to using an HTML5 video in the target.
Popcorn.smart = function( target, src, options ) {
var node = typeof target === "string" ? Popcorn.dom.find( target ) : target,
- i, srci, j, media, mediaWrapper, popcorn,
+ i, srci, j, media, mediaWrapper, popcorn, srcLength,
// We leave HTMLVideoElement and HTMLAudioElement wrappers out
// of the mix, since we'll default to HTML5 video if nothing
// else works. Waiting on #1254 before we add YouTube to this.

0 comments on commit f38088a

Please sign in to comment.