mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
fixed subtitle downloading
This commit is contained in:
parent
2af68415eb
commit
b39a9e4797
5 changed files with 219 additions and 21 deletions
|
@ -143,6 +143,18 @@
|
|||
sendCommandByName('ToggleFullscreen');
|
||||
};
|
||||
|
||||
self.setAudioStreamIndex = function (index) {
|
||||
sendCommandByName('SetAudioStreamIndex', {
|
||||
Index: index
|
||||
});
|
||||
};
|
||||
|
||||
self.setSubtitleStreamIndex = function (index) {
|
||||
sendCommandByName('SetSubtitleStreamIndex', {
|
||||
Index: index
|
||||
});
|
||||
};
|
||||
|
||||
self.displayContent = function (options) {
|
||||
|
||||
sendCommandByName('DisplayContent', {
|
||||
|
@ -276,7 +288,7 @@
|
|||
}
|
||||
|
||||
function onWebSocketConnectionChange() {
|
||||
|
||||
|
||||
// Reconnect
|
||||
if (player.isUpdating) {
|
||||
player.subscribeToPlayerUpdates();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue