mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Merge branch 'master' into burn-subtitle-transcoding
This commit is contained in:
commit
da4265eb46
89 changed files with 3292 additions and 1480 deletions
|
@ -1107,16 +1107,28 @@ export default function (options) {
|
|||
let vp9VideoRangeTypes = 'SDR';
|
||||
let av1VideoRangeTypes = 'SDR';
|
||||
|
||||
if (browser.tizenVersion >= 3) {
|
||||
hevcVideoRangeTypes += '|DOVIWithSDR';
|
||||
}
|
||||
|
||||
if (supportsHdr10(options)) {
|
||||
hevcVideoRangeTypes += '|HDR10';
|
||||
vp9VideoRangeTypes += '|HDR10';
|
||||
av1VideoRangeTypes += '|HDR10';
|
||||
|
||||
if (browser.tizenVersion >= 3) {
|
||||
hevcVideoRangeTypes += '|DOVIWithHDR10';
|
||||
}
|
||||
}
|
||||
|
||||
if (supportsHlg(options)) {
|
||||
hevcVideoRangeTypes += '|HLG';
|
||||
vp9VideoRangeTypes += '|HLG';
|
||||
av1VideoRangeTypes += '|HLG';
|
||||
|
||||
if (browser.tizenVersion >= 3) {
|
||||
hevcVideoRangeTypes += '|DOVIWithHLG';
|
||||
}
|
||||
}
|
||||
|
||||
if (supportsDolbyVision(options)) {
|
||||
|
|
|
@ -43,7 +43,7 @@ const KeyNames = {
|
|||
/**
|
||||
* Keys used for keyboard navigation.
|
||||
*/
|
||||
const NavigationKeys = ['ArrowLeft', 'ArrowRight', 'ArrowUp', 'ArrowDown'];
|
||||
const NavigationKeys = ['ArrowLeft', 'ArrowRight', 'ArrowUp', 'ArrowDown', 'BrowserHome', 'Find'];
|
||||
|
||||
/**
|
||||
* Keys used for media playback control.
|
||||
|
@ -185,6 +185,13 @@ export function enable() {
|
|||
}
|
||||
break;
|
||||
|
||||
case 'Find':
|
||||
inputManager.handleCommand('search');
|
||||
break;
|
||||
case 'BrowserHome':
|
||||
inputManager.handleCommand('home');
|
||||
break;
|
||||
|
||||
case 'MediaPlay':
|
||||
inputManager.handleCommand('play');
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue