add stopPropagation to root of video player
This commit is contained in:
@@ -56,7 +56,10 @@ export function VideoEmbed({source}: {source: string}) {
|
|||||||
a.rounded_sm,
|
a.rounded_sm,
|
||||||
a.my_xs,
|
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 ? (
|
{hasBeenOnScreen || active ? (
|
||||||
<VideoEmbedInner
|
<VideoEmbedInner
|
||||||
source={source}
|
source={source}
|
||||||
|
|||||||
Reference in New Issue
Block a user