Sha256: c044258b998cb012a9bd11bf1fbf1708406fbf173d9fcd42728918c968fce651

Contents?: true

Size: 580 Bytes

Versions: 2

Compression:

Stored size: 580 Bytes

Contents

%div{:id=>@id, :class=>['videoblock', @style, role]}
  - if title?
    .title=captioned_title
  .content
    - if video_iframe?
      %iframe{:width=>(attr :width), :height=>(attr :height), :src=>video_uri, :frameborder=>0, :allowfullscreen=>!(option? :nofullscreen)}
    - else
      %video{:src=>video_uri, :width=>(attr :width), :height=>(attr :height),
          :poster=>((attr :poster) ? media_uri(attr :poster) : nil), :autoplay=>(option? :autoplay),
          :controls=>!(option? :nocontrols), :loop=>(option? :loop)}
        Your browser does not support the video tag.

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
asciidoctor-confluence_publisher-0.1.1 template/block_video.html.haml
asciidoctor-confluence_publisher-0.1.0 template/block_video.html.haml