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

update video osd

This commit is contained in:
Luke Pulverenti 2017-01-03 14:37:10 -05:00
parent afb01571ff
commit f80fcc874a
16 changed files with 513 additions and 67 deletions

View file

@ -161,6 +161,10 @@ define(['appStorage', 'browser'], function (appStorage, browser) {
features.push('physicalvolumecontrol');
}
if (!browser.tv && !browser.xboxOne && !browser.ps4) {
features.push('remotecontrol');
}
return features;
}();

View file

@ -32,7 +32,7 @@
}
}
function showPlayerSelection(button, enableHistory) {
function showPlayerSelection(button) {
var currentPlayerInfo = playbackManager.getPlayerInfo();
@ -80,7 +80,7 @@
// Unfortunately we can't allow the url to change or chromecast will throw a security error
// Might be able to solve this in the future by moving the dialogs to hashbangs
if (!((enableHistory !== false && !browser.chrome) || AppInfo.isNativeApp)) {
if (!((!browser.chrome) || AppInfo.isNativeApp)) {
menuOptions.enableHistory = false;
}

View file

@ -766,8 +766,9 @@
context.querySelector('.typeTextForm').addEventListener('submit', onSendStringSubmit);
context.querySelector('.nowPlayingCastIcon').addEventListener('click', function () {
var btn = this;
require(['playerSelectionMenu'], function (playerSelectionMenu) {
playerSelectionMenu.show();
playerSelectionMenu.show(btn);
});
});