Sha256: 9ad78bb9d95a60e520a94dde3ef6c711eda5a95b9e41cf5de1f3b73e50f5a7db

Contents?: true

Size: 562 Bytes

Versions: 1

Compression:

Stored size: 562 Bytes

Contents

= block_with_caption :bottom, :class=>'videoblock'
  - 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.

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
asciidoctor-html5s-0.1.0.beta.1 data/templates/video.html.slim