{% set paragraph_classes = [
  'video',
] %}
{% set attributes = attributes|default(create_attribute()) %}
{% set attributes = attributes.setAttribute('data-js', 'video') %}

{% extends "@ui-paragraph/paragraph.html.twig" %}

{% block paragraph_content %}
  {{ paragraph_field_header }}

  {% if paragraph_field_vimeo_video_id %}
    <div class="video__vimeo-video-wrapper">
      {{ paragraph_field_vimeo_video_id }}
    </div>

  {# Remote video, no API #}
  {% else %}
    <div class="video__wrapper">
      {{ paragraph_field_erm_video }}
    </div>
  {% endif %}
{% endblock %}
