import { Meta, StoryObj } from "@storybook/react"
import { Video } from "./Video"

type Story = StoryObj<typeof Video>

const meta: Meta<typeof Video> = {
  title: "Design System/Video",
  component: Video,
  args: {
    autoPlay: true,
    loop: true,
    muted: true,
    playsInline: true,
    controls: true,
    controlsList: "nodownload",
    title: "Video",
  },
}

export default meta

export const MP4: Story = {
  args: {
    src: "https://i2.seadn.io/ethereum/0x719c6d392fc659f4fe9b0576cbc46e18939687a7/8274161ddc6f85d912fc77f279c472bc.mp4",
    format: "mp4",
  },
}
