mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update components
This commit is contained in:
parent
2d86f49653
commit
ab58f98cc1
27 changed files with 276 additions and 129 deletions
|
@ -15,12 +15,12 @@
|
|||
},
|
||||
"devDependencies": {},
|
||||
"ignore": [],
|
||||
"version": "1.4.54",
|
||||
"_release": "1.4.54",
|
||||
"version": "1.4.56",
|
||||
"_release": "1.4.56",
|
||||
"_resolution": {
|
||||
"type": "version",
|
||||
"tag": "1.4.54",
|
||||
"commit": "e54c908295025a828f897937f4e41d3ec9f122ba"
|
||||
"tag": "1.4.56",
|
||||
"commit": "2e223ca2b059e6af4bbf718d3bce601c714d608e"
|
||||
},
|
||||
"_source": "https://github.com/MediaBrowser/emby-webcomponents.git",
|
||||
"_target": "^1.2.0",
|
||||
|
|
|
@ -3,13 +3,21 @@
|
|||
function enableAnimation(elem) {
|
||||
|
||||
if (browser.mobile) {
|
||||
i
|
||||
return false;
|
||||
}
|
||||
|
||||
return elem.animate;
|
||||
}
|
||||
|
||||
function enableRotation() {
|
||||
|
||||
if (browser.tv) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
function backdrop() {
|
||||
|
||||
var self = this;
|
||||
|
@ -270,7 +278,7 @@
|
|||
currentRotatingImages = images;
|
||||
currentRotationIndex = -1;
|
||||
|
||||
if (images.length > 1) {
|
||||
if (images.length > 1 && enableRotation()) {
|
||||
rotationInterval = setInterval(onRotationInterval, 20000);
|
||||
}
|
||||
onRotationInterval();
|
||||
|
|
|
@ -216,7 +216,7 @@ define(['browser'], function (browser) {
|
|||
|
||||
var mp3Added = false;
|
||||
if (canPlayMkv || canPlayTs) {
|
||||
if (supportsMp3VideoAudio) {
|
||||
if (supportsMp3VideoAudio && !browser.tizen) {
|
||||
mp3Added = true;
|
||||
videoAudioCodecs.push('mp3');
|
||||
hlsVideoAudioCodecs.push('mp3');
|
||||
|
@ -314,7 +314,7 @@ define(['browser'], function (browser) {
|
|||
});
|
||||
}
|
||||
|
||||
if (canPlayTs) {
|
||||
if (canPlayTs && options.supportsCustomSeeking) {
|
||||
profile.TranscodingProfiles.push({
|
||||
Container: 'ts',
|
||||
Type: 'Video',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue