mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
rework EnableMediaPlayback
This commit is contained in:
parent
22f629080c
commit
b16f98ce9f
3 changed files with 5 additions and 5 deletions
|
@ -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++;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue