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

add more play buttons

This commit is contained in:
Luke Pulverenti 2016-02-12 15:26:03 -05:00
parent 9eb9226941
commit 073fd66f81
14 changed files with 47 additions and 25 deletions

View file

@ -669,6 +669,7 @@
if (!resumePositionTicks && mediaType != "Audio" && !isFolder) {
if (!externalPlayers || mediaType != "Video") {
MediaController.play(itemId);
return;
}
@ -1529,6 +1530,10 @@
atts.push('data-context="' + (options.context || '') + '"');
}
if (item.IsFolder) {
atts.push('data-isfolder="' + item.IsFolder + '"');
}
atts.push('data-itemtype="' + item.Type + '"');
if (item.MediaType) {