mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update context menu
This commit is contained in:
parent
b861fdc816
commit
411b36e638
4 changed files with 1168 additions and 13 deletions
|
@ -1,8 +1,6 @@
|
|||
define(['apphost', 'globalize', 'connectionManager', 'itemHelper', 'embyRouter', 'playbackManager', 'loading', 'appSettings'], function (appHost, globalize, connectionManager, itemHelper, embyRouter, playbackManager, loading, appSettings) {
|
||||
'use strict';
|
||||
|
||||
var isMobileApp = window.Dashboard != null;
|
||||
|
||||
function getCommands(options) {
|
||||
|
||||
var item = options.item;
|
||||
|
@ -146,13 +144,6 @@ define(['apphost', 'globalize', 'connectionManager', 'itemHelper', 'embyRouter',
|
|||
name: globalize.translate('sharedcomponents#Play'),
|
||||
id: 'resume'
|
||||
});
|
||||
|
||||
if (isMobileApp && appSettings.enableExternalPlayers()) {
|
||||
commands.push({
|
||||
name: globalize.translate('ButtonPlayExternalPlayer'),
|
||||
id: 'externalplayer'
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
if (options.playAllFromHere && item.Type !== 'Program' && item.Type !== 'TvChannel') {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue