add stopPropagation to root of video player

This commit is contained in:
Samuel Newman
2024-08-02 16:05:09 +02:00
parent 2d04f5566b
commit 4d86e88b1f
@@ -56,7 +56,10 @@ export function VideoEmbed({source}: {source: string}) {
a.rounded_sm,
a.my_xs,
]}>
<div ref={ref} style={{display: 'flex', flex: 1}}>
<div
ref={ref}
style={{display: 'flex', flex: 1}}
onClick={evt => evt.stopPropagation()}>
{hasBeenOnScreen || active ? (
<VideoEmbedInner
source={source}