Sha256: a84ef86837e760402eff6cfd0193fba0f0d06bdbb66b848438d44e998b84f0b7

Contents?: true

Size: 563 Bytes

Versions: 13

Compression:

Stored size: 563 Bytes

Contents

= block_with_caption :bottom, :class=>'video-block'
  - 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

13 entries across 13 versions & 1 rubygems

Version Path
asciidoctor-html5s-0.3.0 data/templates/video.html.slim
asciidoctor-html5s-0.2.1 data/templates/video.html.slim
asciidoctor-html5s-0.2.0 data/templates/video.html.slim
asciidoctor-html5s-0.1.0 data/templates/video.html.slim
asciidoctor-html5s-0.1.0.beta.11 data/templates/video.html.slim
asciidoctor-html5s-0.1.0.beta.10 data/templates/video.html.slim
asciidoctor-html5s-0.1.0.beta.9 data/templates/video.html.slim
asciidoctor-html5s-0.1.0.beta.8 data/templates/video.html.slim
asciidoctor-html5s-0.1.0.beta.7 data/templates/video.html.slim
asciidoctor-html5s-0.1.0.beta.6 data/templates/video.html.slim
asciidoctor-html5s-0.1.0.beta.5 data/templates/video.html.slim
asciidoctor-html5s-0.1.0.beta.4 data/templates/video.html.slim
asciidoctor-html5s-0.1.0.beta.3 data/templates/video.html.slim