1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Fix for iframe z-index issue with IE11

http://mediabrowser3.com/community/index.php?/topic/4922-server-web-client-ie11-mis-layering/
This commit is contained in:
Tim Hobbs 2014-03-03 18:03:07 -08:00
parent f9cf6a2495
commit 4aaa915381

View file

@ -1024,11 +1024,11 @@
var id = getParameterByName('v', trailer.Url); var id = getParameterByName('v', trailer.Url);
if (id) { if (id) {
remoteTrailersHtml += '<iframe class="posterItem smallBackdropPosterItem" style="margin:0 3px;width:auto;" src="//www.youtube.com/embed/' + id + '" frameborder="0" allowfullscreen></iframe>'; remoteTrailersHtml += '<iframe class="posterItem smallBackdropPosterItem" style="margin:0 3px;width:auto;" src="//www.youtube.com/embed/' + id + '?wmode=opaque" frameborder="0" allowfullscreen></iframe>';
} }
} }
var elem = $('#trailersContent', page).html(remoteTrailersHtml); var elem = $('#trailersContent', page).html(remoteTrailersHtml).css({ "position": "relative", "z-index": 0 });
if (item.LocalTrailerCount) { if (item.LocalTrailerCount) {
ApiClient.getLocalTrailers(user.Id, item.Id).done(function (trailers) { ApiClient.getLocalTrailers(user.Id, item.Id).done(function (trailers) {