diff --git a/src/components/Embeds/VideoPlayer.tsx b/src/components/Embeds/VideoPlayer.tsx index c5ea94d..b8caab4 100644 --- a/src/components/Embeds/VideoPlayer.tsx +++ b/src/components/Embeds/VideoPlayer.tsx @@ -57,27 +57,27 @@ const ControlsContainer = styled(Box)` `; interface VideoPlayerProps { - src?: string; - poster?: string; - name?: string; - identifier?: string; - service?: string; autoplay?: boolean; - from?: string | null; customStyle?: any; + from?: string | null; + identifier?: string; + name?: string; + poster?: string; + service?: string; + src?: string | null; user?: string; } // TODO translate and theme (optional) export const VideoPlayer: FC = ({ - poster, - name, - identifier, - service, autoplay = true, - from = null, customStyle = {}, + from = null, + identifier, + name, node, + poster, + service, }) => { const keyIdentifier = useMemo(() => { if (name && identifier && service) { @@ -549,22 +549,22 @@ export const VideoPlayer: FC = ({ )} {((!src && !isLoading) || !startPlay) && ( { togglePlay(); }} + position="absolute" + right={0} sx={{ cursor: 'pointer', }} + top={0} + zIndex={500} > = ({