Fix modal issue
This commit is contained in:
parent
c81ae989fd
commit
3356a55fbd
|
|
@ -37,6 +37,7 @@ window.EmbedPlayer = class EmbedPlayer extends Player
|
||||||
object = $('<object/>').attr(
|
object = $('<object/>').attr(
|
||||||
type: 'application/x-shockwave-flash'
|
type: 'application/x-shockwave-flash'
|
||||||
data: embed.src
|
data: embed.src
|
||||||
|
wmode: 'opaque'
|
||||||
)
|
)
|
||||||
genParam('allowfullscreen', 'true').appendTo(object)
|
genParam('allowfullscreen', 'true').appendTo(object)
|
||||||
genParam('allowscriptaccess', 'always').appendTo(object)
|
genParam('allowscriptaccess', 'always').appendTo(object)
|
||||||
|
|
|
||||||
|
|
@ -851,7 +851,8 @@
|
||||||
var key, object, ref, value;
|
var key, object, ref, value;
|
||||||
object = $('<object/>').attr({
|
object = $('<object/>').attr({
|
||||||
type: 'application/x-shockwave-flash',
|
type: 'application/x-shockwave-flash',
|
||||||
data: embed.src
|
data: embed.src,
|
||||||
|
wmode: 'opaque'
|
||||||
});
|
});
|
||||||
genParam('allowfullscreen', 'true').appendTo(object);
|
genParam('allowfullscreen', 'true').appendTo(object);
|
||||||
genParam('allowscriptaccess', 'always').appendTo(object);
|
genParam('allowscriptaccess', 'always').appendTo(object);
|
||||||
|
|
|
||||||
|
|
@ -1910,13 +1910,18 @@ function waitUntilDefined(obj, key, fn) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function hidePlayer() {
|
function hidePlayer() {
|
||||||
|
/* 2015-09-16
|
||||||
|
* Originally used to hide the player while a modal was open because of
|
||||||
|
* certain flash videos that always rendered on top. Seems to no longer
|
||||||
|
* be an issue. Uncomment this if it is.
|
||||||
if (!PLAYER) return;
|
if (!PLAYER) return;
|
||||||
|
|
||||||
$("#ytapiplayer").hide();
|
$("#ytapiplayer").hide();
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
function unhidePlayer() {
|
function unhidePlayer() {
|
||||||
$("#ytapiplayer").show();
|
//$("#ytapiplayer").show();
|
||||||
}
|
}
|
||||||
|
|
||||||
function chatDialog(div) {
|
function chatDialog(div) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue