= block_with_title class: ['videoblock', style]
  .content
    - if video_iframe?
      iframe(
          src=video_uri
          width=(attr :width)
          height=(attr :height)
          frameborder=0
          allowfullscreen=!(option? 'nofullscreen'))
    - else
      video(
          src=video_uri
          width=(attr :width)
          height=(attr :height)
          poster=(media_uri(attr :poster) if attr? :poster)
          autoplay=(option? 'autoplay')
          controls=!(option? 'nocontrols')
          loop=(option? 'loop'))
        |Your browser does not support the video tag.
