diff --git a/src/components/VideoElement.js b/src/components/VideoElement.js index c568302e..c91db295 100644 --- a/src/components/VideoElement.js +++ b/src/components/VideoElement.js @@ -1,6 +1,7 @@ import React from 'react' import Hls from 'hls.js' import './VideoElement.css' +import { VideoPlaceholder } from './VideoPlaceholder' // streamUrl: string // loading: boolean @@ -29,13 +30,13 @@ export function VideoElement({ streamUrl, loading }) { // TODO make better loading/error/empty state if (error) - return (

Your browser is not supported

) + return (Your browser is not supported) if (loading) - return

Loading episode

+ return Loading episode if (!streamUrl || streamUrl.length === 0) - return

No video selected

+ return No video selected return (