library browser style fixes
This commit is contained in:
parent
44af31404e
commit
9506f259e7
4 changed files with 30 additions and 29 deletions
|
@ -727,15 +727,14 @@
|
|||
|
||||
var attributes = [];
|
||||
|
||||
if (stream.Codec) {
|
||||
if (stream.Codec && stream.Codec != "dca") {
|
||||
attributes.push('<span class="mediaInfoAttribute">' + stream.Codec + '</span>');
|
||||
}
|
||||
if (stream.Profile) {
|
||||
|
||||
if (stream.Profile && stream.Codec == "dca") {
|
||||
attributes.push('<span class="mediaInfoAttribute">' + stream.Profile + '</span>');
|
||||
}
|
||||
if (stream.Level) {
|
||||
attributes.push('<span class="mediaInfoAttribute">Level ' + stream.Level + '</span>');
|
||||
}
|
||||
|
||||
if (stream.Language) {
|
||||
attributes.push('<span class="mediaInfoAttribute">' + stream.Language + '</span>');
|
||||
}
|
||||
|
@ -770,10 +769,6 @@
|
|||
attributes.push('<span class="mediaInfoAttribute">' + framerate + '</span>');
|
||||
}
|
||||
|
||||
if (stream.PixelFormat) {
|
||||
attributes.push('<span class="mediaInfoAttribute">' + stream.PixelFormat + '</span>');
|
||||
}
|
||||
|
||||
if (stream.IsDefault) {
|
||||
attributes.push('<span class="mediaInfoAttribute">Default</span>');
|
||||
}
|
||||
|
@ -866,7 +861,7 @@
|
|||
} else {
|
||||
$('#trailerSectionHeader', page).html('Trailers');
|
||||
}
|
||||
|
||||
|
||||
var remoteTrailersHtml = '';
|
||||
|
||||
for (var i = 0, length = item.RemoteTrailers.length; i < length; i++) {
|
||||
|
@ -876,7 +871,7 @@
|
|||
var id = getParameterByName('v', trailer.Url);
|
||||
|
||||
if (id) {
|
||||
remoteTrailersHtml += '<iframe class="posterItem smallBackdropPosterItem" style="margin:0 3px;position:relative;top:9px;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 + '" frameborder="0" allowfullscreen></iframe>';
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue