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

fixed remote control issues

This commit is contained in:
Luke Pulverenti 2013-07-25 15:43:40 -04:00
parent e1a76594d6
commit 6c4be34378
2 changed files with 5 additions and 2 deletions

View file

@ -118,7 +118,7 @@
function sendProgressUpdate(itemId) {
ApiClient.reportPlaybackProgress(Dashboard.getCurrentUserId(), itemId, getCurrentTicks());
ApiClient.reportPlaybackProgress(Dashboard.getCurrentUserId(), itemId, getCurrentTicks(), currentMediaElement.paused);
}
function clearProgressInterval() {
@ -1064,7 +1064,9 @@
};
self.seek = function (position) {
currentMediaElement.currentTime = position / (1000 * 10000);
changeStream(position);
};
self.mute = function () {

View file

@ -791,6 +791,7 @@ var Dashboard = {
}
else if (msg.MessageType === "Playstate") {
if (msg.Data.Command === 'Stop') {
MediaPlayer.stop();
}