import * as seadn from "@opensea/seadn" import { type VideoFormat } from "@opensea/ui-kit" import React, { forwardRef } from "react" type Props = React.DetailedHTMLProps< React.VideoHTMLAttributes, HTMLVideoElement > & { src: string format: VideoFormat } export const Video = forwardRef(function Video( { src, format, ...rest }, ref, ) { return ( ) }) // https://developer.mozilla.org/en-US/docs/Web/Media/Formats/Containers#browser_compatibility export function getBrowserVideoMediaFormat( format: VideoFormat, ): Exclude { if (format === "mov" || format === "m4v") { return "mp4" } return format }