mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update subtitle methods
This commit is contained in:
parent
fe7c084ae4
commit
adfc486508
23 changed files with 83 additions and 63 deletions
|
@ -76,8 +76,6 @@
|
|||
}
|
||||
}
|
||||
|
||||
var viblastKey = 'N8FjNTQ3NDdhZqZhNGI5NWU5ZTI=';
|
||||
|
||||
function requireViblast(callback) {
|
||||
require(['thirdparty/viblast/viblast.js'], function () {
|
||||
|
||||
|
@ -91,7 +89,7 @@
|
|||
|
||||
function downloadViblastKey(callback) {
|
||||
|
||||
var savedKeyPropertyName = 'viblastkey';
|
||||
var savedKeyPropertyName = 'vbk';
|
||||
var savedKey = appStorage.getItem(savedKeyPropertyName);
|
||||
if (savedKey) {
|
||||
var deferred = DeferredBuilder.Deferred();
|
||||
|
@ -118,7 +116,8 @@
|
|||
}
|
||||
|
||||
function getViblastKey() {
|
||||
return htmlMediaRenderer.customViblastKey || viblastKey;
|
||||
|
||||
return htmlMediaRenderer.customViblastKey || 'N8FjNTQ3NDdhZqZhNGI5NWU5ZTI=';
|
||||
}
|
||||
|
||||
function getStartTime(url) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue