mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
remove chromecastHelper entirely
This commit is contained in:
parent
3bfb8f42f1
commit
d4dce77bb6
2 changed files with 1 additions and 15 deletions
|
@ -353,14 +353,7 @@ class CastPlayer {
|
|||
message.subtitleBurnIn = appSettings.get('subtitleburnin') || '';
|
||||
}
|
||||
|
||||
return new Promise(function (resolve, reject) {
|
||||
import('./chromecastHelper').then(({ default: chromecastHelper }) => {
|
||||
chromecastHelper.getServerAddress(apiClient).then(function (serverAddress) {
|
||||
message.serverAddress = serverAddress;
|
||||
player.sendMessageInternal(message).then(resolve, reject);
|
||||
}, reject);
|
||||
});
|
||||
});
|
||||
return player.sendMessageInternal(message);
|
||||
}
|
||||
|
||||
sendMessageInternal(message) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue