Updated static video

This commit is contained in:
luke-hagar-sp
2023-01-20 13:15:48 -06:00
parent 052f279fc6
commit cb39b0df53
4 changed files with 5 additions and 7 deletions

View File

@@ -12,24 +12,23 @@ export default function Room({videoSource}) {
setTest(test);
}, [videoSource?.topic]);
const placeholdervideo = 'placeholdervideo';
const staticVideo = '/img/developer_days_placeholder_video.mov';
const placeholderVideo = 'placeholdervideo';
return (
<div className={`${styles.stageContainer}`}>
<div className={styles.stageContentVideo}>
<MuxPlayer
src={
videoSource?.muxPlaybackId === placeholdervideo
? '/img/blurred_intro.mov'
: ''
videoSource?.muxPlaybackId === placeholderVideo ? staticVideo : null
}
loop={true}
autoPlay={true}
streamType={
videoSource?.muxPlaybackId === placeholdervideo ? null : 'live'
videoSource?.muxPlaybackId === placeholderVideo ? null : 'live'
}
playbackId={
videoSource?.muxPlaybackId === placeholdervideo
videoSource?.muxPlaybackId === placeholderVideo
? ''
: videoSource?.muxPlaybackId
}

View File

@@ -37,7 +37,6 @@ export default function Speakers({title, image, description, speakers}) {
key={`${index}-image`}
/>
)}
<div className="flex flex-col justify-center">
<p className="text-xl font-bold !m-0" key={`${index}-name`}>
{item?.name}

Binary file not shown.

Binary file not shown.