{{ attach_library('naomi_2025/field.vimeo-video-id') }}

{% for item in items %}
  {% set video_id = item.content['#item'].first %}
  {% set video_title = item.content['#item'].second %}

  <iframe
    src="https://player.vimeo.com/video/{{ video_id }}?badge=0&amp;autopause=0&amp;player_id=0&amp;muted=1&amp;controls=0&amp;loop=1"
    frameborder="0"
    allow="autoplay; fullscreen; picture-in-picture; clipboard-write"
    title="{{ video_title }}"></iframe>
{% endfor %}
