mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Merge pull request #5871 from gnattu/better-safari-profile
Better codec profile for Safari with 10.10 features
This commit is contained in:
commit
c9105dcad4
3 changed files with 37 additions and 7 deletions
|
@ -12,7 +12,7 @@ import {
|
|||
destroyFlvPlayer,
|
||||
destroyCastPlayer,
|
||||
getCrossOriginValue,
|
||||
enableHlsJsPlayer,
|
||||
enableHlsJsPlayerForCodecs,
|
||||
applySrc,
|
||||
resetSrc,
|
||||
playWithPromise,
|
||||
|
@ -515,7 +515,7 @@ export class HtmlVideoPlayer {
|
|||
elem.crossOrigin = crossOrigin;
|
||||
}
|
||||
|
||||
if (enableHlsJsPlayer(options.mediaSource.RunTimeTicks, 'Video') && isHls(options.mediaSource)) {
|
||||
if (enableHlsJsPlayerForCodecs(options.mediaSource, 'Video') && isHls(options.mediaSource)) {
|
||||
return this.setSrcWithHlsJs(elem, options, val);
|
||||
} else if (options.playMethod !== 'Transcode' && options.mediaSource.Container?.toUpperCase() === 'FLV') {
|
||||
return this.setSrcWithFlvJs(elem, options, val);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue