{#
/**
 * @file
 * Mock data for the File Video component in Storybook.
 */
#}

{% set attributes = create_attribute({
  'controls': true,
  'autoplay': false,
  'muted': false,
  'class': ['file-video']
}) %}

{% set files = [
  {
    'source_attributes': create_attribute({
      'src': 'video.mp4',
      'type': 'video/mp4'
    })
  }
] %}

{% stories video with { title: 'Components/Fields/Video' } %}

{% story default with {
  name: 'Default Video',
  args: {
    attributes: attributes,
    files: files
  }
} %}
  {% embed 'tailpine:video' with {
    attributes: attributes,
    files: files
  } %}{% endembed %}
{% endstory %}

{% endstories %}