1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

update windows ffmpeg

This commit is contained in:
Luke Pulverenti 2016-05-08 23:13:38 -04:00
parent 2242c4d5d6
commit b29bd0ea1a
15 changed files with 67 additions and 32 deletions

View file

@ -16,12 +16,12 @@
},
"devDependencies": {},
"ignore": [],
"version": "1.2.66",
"_release": "1.2.66",
"version": "1.2.67",
"_release": "1.2.67",
"_resolution": {
"type": "version",
"tag": "1.2.66",
"commit": "882a508b902015305d2058b236131c53f95f320a"
"tag": "1.2.67",
"commit": "47093f0f441935b5ccc02999f1981e2e274fb1dc"
},
"_source": "https://github.com/MediaBrowser/emby-webcomponents.git",
"_target": "^1.2.0",

View file

@ -112,7 +112,8 @@
}).join(','),
ImageTypeLimit: 1,
EnableImageTypes: "Primary,Backdrop",
SortBy: "StartDate"
SortBy: "StartDate",
EnableTotalRecordCount: false
}).then(function (programsResult) {

View file

@ -1,7 +1,26 @@
define(['visibleinviewport', 'imageFetcher'], function (visibleinviewport, imageFetcher) {
define(['visibleinviewport', 'imageFetcher', 'layoutManager', 'events'], function (visibleinviewport, imageFetcher, layoutManager, events) {
var thresholdX = screen.availWidth;
var thresholdY = screen.availHeight;
var thresholdX;
var thresholdY;
function resetThresholds() {
var x = screen.availWidth;
var y = screen.availHeight;
if (layoutManager.mobile) {
x *= 2;
y *= 2;
}
thresholdX = x;
thresholdY = y;
}
resetThresholds();
window.addEventListener("orientationchange", resetThresholds);
events.on(layoutManager, 'modechange', resetThresholds);
var wheelEvent = (document.implementation.hasFeature('Event.wheel', '3.0') ? 'wheel' : 'mousewheel');