code cleanup
This commit is contained in:
parent
a79e4f7188
commit
3e19d6bea0
1 changed files with 1 additions and 2 deletions
|
|
@ -53,11 +53,10 @@ export default function VideoPlayer({ video_url, thumbnailUrl }: Props) {
|
||||||
return (
|
return (
|
||||||
<MediaPlayer
|
<MediaPlayer
|
||||||
className="ring-media-focus aspect-video w-full overflow-hidden rounded-md bg-black font-sans text-white data-[focus]:ring-4"
|
className="ring-media-focus aspect-video w-full overflow-hidden rounded-md bg-black font-sans text-white data-[focus]:ring-4"
|
||||||
title="Sprite Fight"
|
|
||||||
src={[
|
src={[
|
||||||
{
|
{
|
||||||
src: video_url,
|
src: video_url,
|
||||||
type: "video/mp4",
|
type: "video/webm",
|
||||||
},
|
},
|
||||||
]}
|
]}
|
||||||
crossOrigin
|
crossOrigin
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue