mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-17 10:58:20 -07:00
Fix import and Chromecast on Edge Chromium
This commit is contained in:
parent
0643e29404
commit
8a67b5e41f
@ -26,7 +26,7 @@ function getBaseProfileOptions(item) {
|
|||||||
|
|
||||||
function getDeviceProfile(item, options = {}) {
|
function getDeviceProfile(item, options = {}) {
|
||||||
return new Promise(function (resolve) {
|
return new Promise(function (resolve) {
|
||||||
import(['browserdeviceprofile']).then(({default: profileBuilder}) => {
|
import('browserdeviceprofile').then(({default: profileBuilder}) => {
|
||||||
let profile;
|
let profile;
|
||||||
|
|
||||||
if (window.NativeShell) {
|
if (window.NativeShell) {
|
||||||
@ -262,7 +262,7 @@ const supportedFeatures = function () {
|
|||||||
features.push('fileinput');
|
features.push('fileinput');
|
||||||
}
|
}
|
||||||
|
|
||||||
if (browser.chrome) {
|
if (browser.chrome || browser.edgeChromium) {
|
||||||
features.push('chromecast');
|
features.push('chromecast');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user