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

added version number to apiclient

This commit is contained in:
Luke Pulverenti 2013-07-10 08:37:14 -04:00
parent 98c1b53937
commit a5a41a1643
2 changed files with 9 additions and 4 deletions

View file

@ -524,8 +524,10 @@
// HLS must be at the top for safari
// Webm must be ahead of mp4 due to the issue of mp4 playing too fast in chrome
var requiresControls = $.browser.msie || $.browser.android || $.browser.iphone || $.browser.ipad;
// Can't autoplay in these browsers so we need to use the full controls
if ($.browser.msie || $.browser.android || $.browser.iphone || $.browser.ipad) {
if (requiresControls) {
html += '<video class="itemVideo" autoplay controls preload="none">';
} else {
html += '<video class="itemVideo" autoplay preload="none">';
@ -572,7 +574,11 @@
$('#chaptersButton', nowPlayingBar).hide();
}
$('#fullscreenButton', nowPlayingBar).show();
if (requiresControls) {
$('#fullscreenButton', nowPlayingBar).hide();
} else {
$('#fullscreenButton', nowPlayingBar).show();
}
var videoElement = $("video", nowPlayingBar);

View file

@ -790,9 +790,8 @@ var Dashboard = {
});
}
else if (msg.MessageType === "UpdatePlaystate") {
else if (msg.MessageType === "Playstate") {
// TODO for Craig
}
},