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:
parent
9eb9226941
commit
073fd66f81
14 changed files with 47 additions and 25 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue