diff --git a/src/frontend/overlay/src/components/organisms/holder/ContestantViewHolder.tsx b/src/frontend/overlay/src/components/organisms/holder/ContestantViewHolder.tsx index 5d6aefa6f..ae076f4ee 100644 --- a/src/frontend/overlay/src/components/organisms/holder/ContestantViewHolder.tsx +++ b/src/frontend/overlay/src/components/organisms/holder/ContestantViewHolder.tsx @@ -6,6 +6,7 @@ import { GrabberPlayerClient } from "../../../utils/grabber/grabber_player"; import { useAppDispatch } from "@/redux/hooks"; import { MediaType } from "@shared/api"; import Hls from "hls.js"; +import c from "../../../config"; // export const TeamImageWrapper = styled.img /*` // // border-radius: ${({ borderRadius }) => borderRadius}; @@ -22,6 +23,12 @@ import Hls from "hls.js"; // object-position: bottom; // border-radius: ${({ borderRadius }) => borderRadius}; // `*/; +export const VideoWrapper = styled.video` + position: absolute; + width: 100%; + // height: 100%; + border-radius: ${c.GLOBAL_BORDER_RADIUS}; +`; export const TeamWebRTCProxyVideoWrapper = ({ url, setIsLoaded, ...props }) => { @@ -192,10 +199,10 @@ function HlsPlayer({ }, [autoPlay, src, jwtToken]); // If Media Source is supported, use HLS.js to play video - if (Hls.isSupported()) return