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