]> khamidou — GitHub mirrors - popcorn-js.git/commitdiff
[#504] tagName => nodeName
authorRick Waldron <waldron.rick@gmail.com>
Mon, 9 May 2011 00:21:48 +0000 (20:21 -0400)
committerRick Waldron <waldron.rick@gmail.com>
Mon, 9 May 2011 00:21:48 +0000 (20:21 -0400)
popcorn.js

index 570a256d3a9f6a98ec2796fc8fc1e5a56beba7c1..0e4debd959e34f4d09536989e57fb98ea19b7178 100644 (file)
                     entity;
 
       //  Create an audio or video element property reference
-      this[ ( this.media.tagName && this.media.tagName.toLowerCase() ) || "video" ] = this.media;
+      this[ ( this.media.nodeName && this.media.nodeName.toLowerCase() ) || "video" ] = this.media;
 
       //  Register new instance
       Popcorn.addInstance( this );