mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
don't auto-restart during recordings
This commit is contained in:
parent
fd87c2de1d
commit
cabe68c3e2
7 changed files with 50 additions and 18 deletions
|
@ -805,19 +805,18 @@
|
|||
positionSlider = parent.querySelector(".videoPositionSlider", parent);
|
||||
positionSlider.addEventListener('change', onPositionSliderChange);
|
||||
|
||||
positionSlider._setPinValue = function (value) {
|
||||
positionSlider.getBubbleText = function (value) {
|
||||
|
||||
var seekableDuration = getSeekableDuration();
|
||||
if (!self.currentMediaSource || !seekableDuration) {
|
||||
this.pinValue = '--:--';
|
||||
return;
|
||||
return '--:--';
|
||||
}
|
||||
|
||||
var ticks = seekableDuration;
|
||||
ticks /= 100;
|
||||
ticks *= value;
|
||||
|
||||
this.pinValue = datetime.getDisplayRunningTime(ticks);
|
||||
return datetime.getDisplayRunningTime(ticks);
|
||||
};
|
||||
|
||||
volumeSlider = parent.querySelector('.videoVolumeSlider');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue