consolidate datetime methods
This commit is contained in:
parent
69ae494554
commit
8225003fd5
9 changed files with 29 additions and 70 deletions
|
@ -1,4 +1,4 @@
|
|||
(function () {
|
||||
define(['events'], function (events) {
|
||||
|
||||
function transferPlayback(oldPlayer) {
|
||||
|
||||
|
@ -25,7 +25,7 @@
|
|||
});
|
||||
}
|
||||
|
||||
Events.on(MediaController, 'playerchange', function (e, newPlayer, newTarget, oldPlayer) {
|
||||
events.on(MediaController, 'playerchange', function (e, newPlayer, newTarget, oldPlayer) {
|
||||
|
||||
if (!oldPlayer) {
|
||||
console.log('Skipping remote control autoplay because oldPlayer is null');
|
||||
|
@ -48,4 +48,4 @@
|
|||
}
|
||||
});
|
||||
|
||||
})();
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue