1
0
mirror of https://github.com/videojs/video.js.git synced 2025-01-17 10:46:00 +02:00

Fix for Flowplayer a-Tag embedding:

Now every HMTL Node with a 'vjs-flash-fallback' className can be the FlashFallback Node.
This commit is contained in:
Thomas von Deyen 2010-06-30 04:22:27 +08:00 committed by heff
parent e27c02e32f
commit 7e5bd00582

View File

@ -289,9 +289,7 @@ var VideoJS = JRClass.extend({
if (VideoJS.isIE()) return;
var children = this.box.getElementsByClassName("vjs-flash-fallback");
for (var i=0,j=children.length; i<j; i++) {
if (children[i].tagName.toUpperCase() == "OBJECT") {
return children[i];
}
return children[i];
}
},