Sha256: 43f3d0c0097c7be2336e84f5058e26fc15fa5cf3a543dbda27512355bcf2ba4a

Contents?: true

Size: 526 Bytes

Versions: 7

Compression:

Stored size: 526 Bytes

Contents

<figure class="video-container <%= klass %>" id="<%= id %>">
  <div style="width:100%;height:0;padding-bottom:56%;position:relative;">
    <iframe src="https://giphy.com/embed/<%= embed_id %>" width="100%" height="100%" frameborder="0" class="giphy-embed" webkitallowfullscreen mozallowfullscreen allowFullScreen></iframe>
  </div>

  <% unless caption.to_s.empty? %>
    <figcaption class="caption video-caption video-caption-giphy">
      <%= MarkdownMedia.render_markdown caption %>
    </figcaption>
  <% end %>
</figure>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
markdown_media-2.0.1 lib/templates/giphy.erb
markdown_media-2.0.0 lib/templates/giphy.erb
markdown_media-1.8.0 lib/templates/giphy.erb
markdown_media-1.7.0 lib/templates/giphy.erb
markdown_media-1.6.0 lib/templates/giphy.erb
markdown_media-1.5.0 lib/templates/giphy.erb
markdown_media-1.4.1 lib/templates/giphy.erb