mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Fix import and Chromecast on Edge Chromium
This commit is contained in:
parent
0643e29404
commit
8a67b5e41f
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue