1
0
Fork 0
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:
Luke Pulverenti 2014-05-08 01:04:39 -04:00
parent 2af68415eb
commit b39a9e4797
5 changed files with 219 additions and 21 deletions

View file

@ -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();