Sha256: 1efab0ceb1aeb155a2ac53876052abaab032361fd1e0ff53c8d066c05fe459ed

Contents?: true

Size: 525 Bytes

Versions: 16

Compression:

Stored size: 525 Bytes

Contents

%div{ class: video_brick.to_style_class }
  - if video_brick.video == Qbrick::VideoBrick::YOUTUBE
    %video.sublime{ 'data-youtube-id' => video_brick.href, 'data-settings' => 'autoresize:fit', preload: 'none' }
  - elsif video_brick.video == Qbrick::VideoBrick::VIMEO || video_brick.video == Qbrick::VideoBrick::EXTERNAL
    %video.sublime{ 'data-settings' => 'autoresize:fit', preload: 'none' }
      %source{ src: video_brick.href }
  - else
    - if video_brick.embed_src.present?
      = video_brick.embed_src.html_safe

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
qbrick-2.7.1 app/views/qbrick/video_bricks/_video_brick.html.haml
qbrick-2.7 app/views/qbrick/video_bricks/_video_brick.html.haml
qbrick-2.6.10 app/views/qbrick/video_bricks/_video_brick.html.haml
qbrick-2.6.9 app/views/qbrick/video_bricks/_video_brick.html.haml
qbrick-2.6.8 app/views/qbrick/video_bricks/_video_brick.html.haml
qbrick-2.6.7 app/views/qbrick/video_bricks/_video_brick.html.haml
qbrick-2.6.6 app/views/qbrick/video_bricks/_video_brick.html.haml
qbrick-2.6.5 app/views/qbrick/video_bricks/_video_brick.html.haml
qbrick-2.6.4 app/views/qbrick/video_bricks/_video_brick.html.haml
qbrick-2.6.3 app/views/qbrick/video_bricks/_video_brick.html.haml
qbrick-2.6.2 app/views/qbrick/video_bricks/_video_brick.html.haml
qbrick-2.6.1 app/views/qbrick/video_bricks/_video_brick.html.haml
qbrick-2.6.0 app/views/qbrick/video_bricks/_video_brick.html.haml
qbrick-2.5.2 app/views/qbrick/video_bricks/_video_brick.html.haml
qbrick-2.5.1 app/views/qbrick/video_bricks/_video_brick.html.haml
qbrick-2.5.0 app/views/qbrick/video_bricks/_video_brick.html.haml