import { VolumeBar } from 'features/StreamPlayer/components/VolumeBar' import { PlayerWrapper, Controls, PlayStop, Fullscreen, } from 'features/StreamPlayer/styled' import { VideoPlayer } from 'features/VideoPlayer' import { ProgressBar } from './components/ProgressBar' import { Settings } from './components/Settings' import type { Props } from './hooks' import { useMultiSourcePlayer } from './hooks' export const MultiSourcePlayer = (props: Props) => { const { activeChapterIndex, activeSrc, chapters, duration, isFullscreen, loadedProgress, muted, onError, onFullscreenClick, onLoadedProgress, onPlayedProgress, onPlayerClick, onProgressChange, onQualitySelect, onReady, onVolumeChange, onVolumeClick, playedProgress, playing, playNextChapter, seek, selectedQuality, togglePlaying, videoQualities, videoRef, volume, volumeInPercent, wrapperRef, } = useMultiSourcePlayer(props) return ( ) }