import { PixelStreamingWrapper } from "./PixelStreamingWrapper";

interface PlayerProps {
  ss: string;
}

export const Player = ({ ss }: PlayerProps) => {
  return (
    <div
      style={{
        height: "100%",
        width: "100%",
      }}
    >
      <PixelStreamingWrapper
        initialSettings={{
          AutoPlayVideo: true,
          AutoConnect: true,
          ss,
          StartVideoMuted: false,
          HoveringMouse: true,
          WaitForStreamer: true,
        }}
      />
    </div>
  );
};
