Sha256: 07e1bf011d435cc1deb1ec39d64b6710c1b0f54834501dccf7ea80c6a0be0c8c

Contents?: true

Size: 380 Bytes

Versions: 42

Compression:

Stored size: 380 Bytes

Contents

- source = @attributes[:url].to_s
- provider = video_provider(source)

.video-embed-wrap
  - if provider == :vimeo
    %iframe{src: "#{vimeo_embed_url(source)}", width: '640', height: '480', frameborder: '0', allowfullscreen: true}
  - elsif provider == :youtube
    %iframe{width: '640', height: '480', src: "#{youtube_embed_url(source)}", frameborder: 0, allowfullscreen: true}

Version data entries

42 entries across 42 versions & 1 rubygems

Version Path
virgo-0.3.17 app/views/virgo/shortcode_templates/video.haml
virgo-0.3.16 app/views/virgo/shortcode_templates/video.haml
virgo-0.3.15 app/views/virgo/shortcode_templates/video.haml
virgo-0.3.14 app/views/virgo/shortcode_templates/video.haml
virgo-0.3.13 app/views/virgo/shortcode_templates/video.haml
virgo-0.3.12 app/views/virgo/shortcode_templates/video.haml
virgo-0.3.11 app/views/virgo/shortcode_templates/video.haml
virgo-0.3.10 app/views/virgo/shortcode_templates/video.haml
virgo-0.3.9 app/views/virgo/shortcode_templates/video.haml
virgo-0.3.8 app/views/virgo/shortcode_templates/video.haml
virgo-0.3.7 app/views/virgo/shortcode_templates/video.haml
virgo-0.3.6 app/views/virgo/shortcode_templates/video.haml
virgo-0.3.4 app/views/virgo/shortcode_templates/video.haml
virgo-0.3.3 app/views/virgo/shortcode_templates/video.haml
virgo-0.3.2 app/views/virgo/shortcode_templates/video.haml
virgo-0.3.1 app/views/virgo/shortcode_templates/video.haml
virgo-0.3 app/views/virgo/shortcode_templates/video.haml
virgo-0.2.9 app/views/virgo/shortcode_templates/video.haml
virgo-0.2.8 app/views/virgo/shortcode_templates/video.haml
virgo-0.2.7 app/views/virgo/shortcode_templates/video.haml