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

update unveils

This commit is contained in:
Luke Pulverenti 2015-06-28 10:45:21 -04:00
parent 8c2b65740f
commit 95a647e0df
63 changed files with 745 additions and 584 deletions

View file

@ -39,7 +39,7 @@
function monitorPlayer(player) {
$(player).on('playbackstart.mediacontroller', function (e, state) {
Events.on(player, 'playbackstart.mediacontroller', function (e, state) {
var info = {
QueueableMediaTypes: state.NowPlayingItem.MediaType,
@ -51,7 +51,9 @@
ApiClient.reportPlaybackStart(info);
}).on('playbackstop.mediacontroller', function (e, state) {
});
Events.on(player, 'playbackstop.mediacontroller', function (e, state) {
var stopInfo = {
itemId: state.NowPlayingItem.Id,
@ -190,7 +192,7 @@
});
if ($('.radioSelectPlayerTarget:checked', elem).attr('data-mirror') == 'true') {
if ($('.radioSelectPlayerTarget:checked', elem)[0].getAttribute('data-mirror') == 'true') {
$('.fldMirrorMode', elem).show();
} else {
$('.fldMirrorMode', elem).hide();