1
0
Fork 0
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:
Luke Pulverenti 2015-07-19 23:43:13 -04:00
parent fe7c084ae4
commit adfc486508
23 changed files with 83 additions and 63 deletions

View file

@ -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) {