diff --git a/src/components/VideoElement.js b/src/components/VideoElement.js index 13426eb0..1f26730a 100644 --- a/src/components/VideoElement.js +++ b/src/components/VideoElement.js @@ -9,7 +9,7 @@ import './VideoElement.css' // setProgress: (event: NativeEvent) => void // videoRef: useRef // startTime: number -export function VideoElement({ streamUrl, loading, setProgress, videoRef, startTime }) { +export function VideoElement({ streamUrl, loading, setProgress, videoRef, startTime, streamData }) { const [error, setError] = React.useState(false); function onLoad() { @@ -48,11 +48,14 @@ export function VideoElement({ streamUrl, loading, setProgress, videoRef, startT if (!streamUrl.endsWith('.mp4')) { return ( -