add more play buttons
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user