Sha256: 28a5bc15dd7cf57014e47eab972f356f19bf2259f606cce1a3450eee9a757ee5

Contents?: true

Size: 529 Bytes

Versions: 62

Compression:

Stored size: 529 Bytes

Contents

#video-content-block.style-guide__subsection

  %h3= link_to_style_guide('components', 'video_content_block')

  %p A content block that wraps an <code>iframe</code> embed code.

  %p should preserve video ratio as it scales:
  .style-guide__example-block
    .video-content-block
      .video-content-block__responsive-frame{ style: 'padding-bottom: 56.25%; height: 0;' }
        %iframe{ width: 560, height: 315, frameborder: 0, allowfullscreen: true, src: ('https://www.youtube.com/embed/A21I70ggSQw' unless Rails.env.test?)}

Version data entries

62 entries across 62 versions & 1 rubygems

Version Path
workarea-storefront-3.4.13 app/views/workarea/storefront/style_guides/components/_video_content_block.html.haml
workarea-storefront-3.4.12 app/views/workarea/storefront/style_guides/components/_video_content_block.html.haml