mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-17 02:48:19 -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 = {}) {
|
||||
return new Promise(function (resolve) {
|
||||
import(['browserdeviceprofile']).then(({default: profileBuilder}) => {
|
||||
import('browserdeviceprofile').then(({default: profileBuilder}) => {
|
||||
let profile;
|
||||
|
||||
if (window.NativeShell) {
|
||||
@ -262,7 +262,7 @@ const supportedFeatures = function () {
|
||||
features.push('fileinput');
|
||||
}
|
||||
|
||||
if (browser.chrome) {
|
||||
if (browser.chrome || browser.edgeChromium) {
|
||||
features.push('chromecast');
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user