Merge branch 'master' into burn-subtitle-transcoding

This commit is contained in:
gnattu
2024-10-09 06:53:18 +08:00
committed by GitHub
89 changed files with 3292 additions and 1480 deletions
+12
View File
@@ -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)) {
+8 -1
View File
@@ -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;