|
|
|
|
@ -178,12 +178,16 @@ export const MultiSourcePlayer = (props: Props) => { |
|
|
|
|
disabled={isLastChapterPlaying} |
|
|
|
|
onClick={() => playNextChapter()} |
|
|
|
|
/> |
|
|
|
|
<VolumeBar |
|
|
|
|
value={volumeInPercent} |
|
|
|
|
muted={muted} |
|
|
|
|
onChange={onVolumeChange} |
|
|
|
|
onClick={onVolumeClick} |
|
|
|
|
/> |
|
|
|
|
{ |
|
|
|
|
!isMobileDevice && ( |
|
|
|
|
<VolumeBar |
|
|
|
|
value={volumeInPercent} |
|
|
|
|
muted={muted} |
|
|
|
|
onChange={onVolumeChange} |
|
|
|
|
onClick={onVolumeClick} |
|
|
|
|
/> |
|
|
|
|
) |
|
|
|
|
} |
|
|
|
|
<PlaybackTime width={duration > HOUR_IN_MILLISECONDS ? 150 : 130}> |
|
|
|
|
{secondsToHms(allPlayedProgress / 1000)} |
|
|
|
|
{' / '} |
|
|
|
|
@ -202,15 +206,15 @@ export const MultiSourcePlayer = (props: Props) => { |
|
|
|
|
</ControlsGroup> |
|
|
|
|
|
|
|
|
|
<ControlsGroup> |
|
|
|
|
<Fullscreen |
|
|
|
|
onClick={onFullscreenClick} |
|
|
|
|
isFullscreen={isFullscreen} |
|
|
|
|
/> |
|
|
|
|
<Settings |
|
|
|
|
onSelect={onQualitySelect} |
|
|
|
|
selectedQuality={selectedQuality} |
|
|
|
|
videoQualities={videoQualities} |
|
|
|
|
/> |
|
|
|
|
<Fullscreen |
|
|
|
|
onClick={onFullscreenClick} |
|
|
|
|
isFullscreen={isFullscreen} |
|
|
|
|
/> |
|
|
|
|
</ControlsGroup> |
|
|
|
|
</ControlsRow> |
|
|
|
|
</Controls> |
|
|
|
|
|