mirror of https://github.com/calzoneman/sync.git
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(
|
||||
type: 'application/x-shockwave-flash'
|
||||
data: embed.src
|
||||
wmode: 'opaque'
|
||||
)
|
||||
genParam('allowfullscreen', 'true').appendTo(object)
|
||||
genParam('allowscriptaccess', 'always').appendTo(object)
|
||||
|
|
|
@ -851,7 +851,8 @@
|
|||
var key, object, ref, value;
|
||||
object = $('<object/>').attr({
|
||||
type: 'application/x-shockwave-flash',
|
||||
data: embed.src
|
||||
data: embed.src,
|
||||
wmode: 'opaque'
|
||||
});
|
||||
genParam('allowfullscreen', 'true').appendTo(object);
|
||||
genParam('allowscriptaccess', 'always').appendTo(object);
|
||||
|
|
|
@ -1910,13 +1910,18 @@ function waitUntilDefined(obj, key, fn) {
|
|||
}
|
||||
|
||||
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;
|
||||
|
||||
$("#ytapiplayer").hide();
|
||||
*/
|
||||
}
|
||||
|
||||
function unhidePlayer() {
|
||||
$("#ytapiplayer").show();
|
||||
//$("#ytapiplayer").show();
|
||||
}
|
||||
|
||||
function chatDialog(div) {
|
||||
|
|
Loading…
Reference in New Issue