mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update ffmpeg
This commit is contained in:
parent
37e35b51d2
commit
90f0116bf8
3 changed files with 37 additions and 16 deletions
|
@ -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() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue