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:
parent
e27c02e32f
commit
7e5bd00582
4
video.js
4
video.js
@ -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];
|
||||
}
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user