update ffmpeg

This commit is contained in:
Luke Pulverenti 2016-04-02 00:16:18 -04:00
parent 37e35b51d2
commit 90f0116bf8
3 changed files with 37 additions and 16 deletions

View File

@ -33,7 +33,7 @@
<div class="fieldDescription paperCheckboxFieldDescription">${LabelSkipIfGraphicalSubsPresentHelp}</div>
</li>
<li>
<paper-input type="text" id="txtOpenSubtitleUsername" autocomplete="off" required label="${LabelOpenSubtitlesUsername}"></paper-input>
<paper-input type="text" id="txtOpenSubtitleUsername" autocomplete="off" label="${LabelOpenSubtitlesUsername}"></paper-input>
<div class="fieldDescription"><a target="_blank" href="http://www.opensubtitles.org/">${ButtonRegister}</a></div>
</li>
<li>

View File

@ -158,6 +158,8 @@
document.body.appendChild(div);
libraryBrowser.createCardMenus(div);
elem = div;
}
return elem;
@ -203,7 +205,10 @@
{ opacity: '0', offset: 0 },
{ opacity: '1', offset: 1 }];
var timing = { duration: 200, iterations: iterations, fill: 'both' };
elem.animate(keyframes, timing);
if (elem.animate) {
elem.animate(keyframes, timing);
}
}
function fadeOut(elem, iterations) {
@ -211,9 +216,16 @@
{ opacity: '1', offset: 0 },
{ opacity: '0', offset: 1 }];
var timing = { duration: 600, iterations: iterations, fill: 'both' };
elem.animate(keyframes, timing).onfinish = function () {
var onfinish = function () {
elem.parentNode.removeChild(elem);
};
if (elem.animate) {
elem.animate(keyframes, timing).onfinish = onfinish;
} else {
onfinish();
}
}
function bindSearchEvents() {

View File

@ -3127,7 +3127,7 @@ var AppInfo = {};
if (browserInfo.safari) {
postInitDependencies.push('cordova/connectsdk/connectsdk');
postInitDependencies.push('cordova/ios/chromecast');
postInitDependencies.push('cordova/ios/orientation');
@ -3170,22 +3170,31 @@ var AppInfo = {};
cordova.getAppVersion.getVersionNumber(function (appVersion) {
var name = browserInfo.android ? "Emby for Android Mobile" : (browserInfo.safari ? "Emby for iOS" : "Emby Mobile");
require(['appStorage'], function (appStorage) {
// Remove special characters
var cleanDeviceName = device.model.replace(/[^\w\s]/gi, '');
var name = browserInfo.android ? "Emby for Android Mobile" : (browserInfo.safari ? "Emby for iOS" : "Emby Mobile");
var deviceId = null;
// Remove special characters
var cleanDeviceName = device.model.replace(/[^\w\s]/gi, '');
if (window.MainActivity) {
deviceId = MainActivity.getLegacyDeviceId();
}
var deviceId = null;
resolve({
deviceId: deviceId || device.uuid,
deviceName: cleanDeviceName,
appName: name,
appVersion: appVersion
if (window.MainActivity) {
deviceId = appStorage.getItem('legacyDeviceId');
if (!deviceId) {
deviceId = MainActivity.getLegacyDeviceId();
appStorage.setItem('legacyDeviceId', deviceId);
}
}
resolve({
deviceId: deviceId || device.uuid,
deviceName: cleanDeviceName,
appName: name,
appVersion: appVersion
});
});
});