add one year tolerance to movie lookups

This commit is contained in:
Luke Pulverenti 2014-07-04 15:17:22 -04:00
parent 6ca0dc946c
commit eeafc46d94
6 changed files with 17 additions and 25 deletions

View File

@ -24,9 +24,6 @@
background-color: #000;
width: 100%;
height: auto;
/* Without this the buttons displayed over the video surface will not be clickable in safari. */
-webkit-transform-style: preserve-3d
}
.videoControls {
@ -109,8 +106,7 @@
/* Fullscreen
***************************************/
#videoPlayer,
.itemVideo {
#videoPlayer, .itemVideo {
position: fixed !important;
top: 0 !important;
bottom: 0 !important;
@ -125,8 +121,8 @@
}
/* Hack for safari because it doesn't allow clickable content over the video surface. */
.itemVideo { (;top: 60px!important;); }
.itemVideo { [;top: 60px!important;]; }
.itemVideo { (;top: 9%!important;height: 91% !important;); }
.itemVideo { [;top: 9%!important;height: 91% !important;]; }
#mediaPlayer .ui-slider-track, .nowPlayingBar .ui-slider-track, .nowPlayingPage .ui-slider-track {
border-color: #2ad !important;

View File

@ -17,7 +17,7 @@
</div>
<p>${HeaderServerLogFiles}</p>
<div class="serverLogs">
<div class="serverLogs readOnlyContent">
</div>
</div>

View File

@ -219,6 +219,8 @@
var itemId = posterItem.getAttribute('data-itemid');
var commands = posterItem.getAttribute('data-commands').split(',');
$(posterItem).addClass('hasContextMenu');
var promise1 = ApiClient.getItem(Dashboard.getCurrentUserId(), itemId);
var promise2 = Dashboard.getCurrentUser();
@ -272,6 +274,7 @@
var elem = $('.tapHoldMenu').popup({ positionTo: e.target }).trigger('create').popup("open").on("popupafterclose", function () {
$(this).off("popupafterclose").remove();
$(posterItem).removeClass('hasContextMenu');
});
@ -352,11 +355,8 @@
var elems = '.backdropPosterItem,.smallBackdropPosterItem,.portraitPosterItem,.squarePosterItem,.miniBackdropPosterItem';
if ($.browser.mobile) {
this.off('contextmenu.posterItemMenu', elems)
.on('contextmenu.posterItemMenu', elems, onPosterItemTapHold);
}
this.off('contextmenu.posterItemMenu', elems)
.on('contextmenu.posterItemMenu', elems, onPosterItemTapHold);
return this.off('.posterItemHoverMenu')
.on('mouseenter.posterItemHoverMenu', elems, onHoverIn)

View File

@ -1158,12 +1158,7 @@
volumeSlider.val(initialVolume).slider('refresh');
updateVolumeButtons(initialVolume);
video.on("loadstart.mediaplayerevent", function (e) {
Dashboard.showLoadingMsg();
}).on("volumechange.mediaplayerevent", function (e) {
video.on("volumechange.mediaplayerevent", function (e) {
var vol = this.volume;
@ -1189,8 +1184,6 @@
}).on("playing.mediaplayerevent", function (e) {
Dashboard.hideLoadingMsg();
$('#video-playButton', videoControls).hide();
$('#video-pauseButton', videoControls).show();
$("#play", videoElement).show().addClass("fadeOut");

View File

@ -43,7 +43,7 @@
html += LibraryBrowser.getPagingHtml(query, result.TotalRecordCount);
$('#items', page).html(html).trigger('create');
$('#items', page).html(html).trigger('create').createPosterItemMenus();
$('.btnNextPage', page).on('click', function () {
query.StartIndex += query.Limit;

View File

@ -29,9 +29,12 @@
<option value="30">$30</option>
<option value="50">$50</option>
</select>
<input type="checkbox" name="Recurring" id="cbxRecurring"/>
<label for="cbxRecurring" >Automatically donate this amount each month</label>
<p>You can cancel at any time via your PayPal account</p>
<div>
<input type="checkbox" name="Recurring" id="cbxRecurring" />
<label for="cbxRecurring">${LabelAutomaticallyDonate}</label>
<div class="fieldDescription">${LabelAutomaticallyDonateHelp}</div>
</div>
<br />
<input type="hidden" name="cmd" id="ppCmd" value="_xclick">
<input type="hidden" name="business" value="donate@mediabrowser3.com">
<input type="hidden" name="currency_code" value="USD">