import { getSrc } from "@livepeer/react/external";
import * as Player from "@livepeer/react/player";
import { PictureInPictureIcon } 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.PictureInPictureTrigger
style={{
position: "absolute",
left: 20,
bottom: 20,
width: 25,
height: 25,
}}
>
<PictureInPictureIcon />
</Player.PictureInPictureTrigger>
</Player.Container>
</Player.Root>
);
};