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

rework EnableMediaPlayback

This commit is contained in:
Luke Pulverenti 2014-02-21 00:35:56 -05:00
parent 22f629080c
commit b16f98ce9f
3 changed files with 5 additions and 5 deletions

View file

@ -2561,7 +2561,7 @@
}
}
if (item.LocalTrailerCount && currentUser.Configuration.EnableMediaPlayback) {
if (item.LocalTrailerCount && item.PlayAccess == 'Full') {
html += '<button type="button" data-mini="true" data-inline="true" data-icon="video" data-iconpos="notext" class="btnPlayTrailer" data-itemid="' + item.Id + '" title="Play Trailer" style="' + buttonMargin + '">Play Trailer</button>';
buttonCount++;
}