mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Merge remote-tracking branch 'upstream/master'
This commit is contained in:
commit
a84e40f79e
3 changed files with 62 additions and 40 deletions
|
@ -60,8 +60,19 @@
|
|||
return Math.floor(10000000 * (mediaElement || currentMediaElement).currentTime) + self.startTimeTicksOffset;
|
||||
};
|
||||
|
||||
self.clearPauseStop = function() {
|
||||
|
||||
if (self.pauseStop) {
|
||||
console.log('clearing pause stop timer');
|
||||
window.clearTimeout(self.pauseStop);
|
||||
self.pauseStop = null;
|
||||
}
|
||||
};
|
||||
|
||||
self.onPlaybackStopped = function () {
|
||||
|
||||
self.clearPauseStop();
|
||||
|
||||
$(this).off('ended.playbackstopped');
|
||||
|
||||
self.currentTimeElement.empty();
|
||||
|
@ -1159,7 +1170,7 @@
|
|||
|
||||
var getItemFields = "MediaSources,Chapters";
|
||||
|
||||
self.getCurrentTargetInfo = function() {
|
||||
self.getCurrentTargetInfo = function () {
|
||||
return self.getTargets()[0];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue