import { getSrc } from "@livepeer/react/external";
import * as Player from "@livepeer/react/player";
import {
EnterFullscreenIcon,
ExitFullscreenIcon,
} from "@livepeer/react/assets";
import { vodSource } from "./source";
export default () => {
return (
<Player.Root src={getSrc(vodSource)} autoPlay volume={0}>
<Player.Container>
<Player.Video
title="Agent 327"
style={{ height: "100%", width: "100%" }}
/>
<Player.FullscreenTrigger
style={{
position: "absolute",
left: 20,
bottom: 20,
width: 25,
height: 25,
}}
>
<Player.FullscreenIndicator asChild matcher={false}>
<EnterFullscreenIcon />
</Player.FullscreenIndicator>
<Player.FullscreenIndicator asChild>
<ExitFullscreenIcon />
</Player.FullscreenIndicator>
</Player.FullscreenTrigger>
</Player.Container>
</Player.Root>
);
};