blob: d772c94a7038e5b0b5666c3436d003e7ca57c84c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
- @youtube.each do |id|
%div.container.justify-content-md-center
%div.card
%div.card-body
%div.embed-responsive.embed-responsive-4by3{:id=>id}
%iframe.embed-responsive-item{:src=>"https://www.youtube.com/embed/#{id}", :allowfullscreen=>"allowfullscreen"}
- @vimeo.each do |id|
%div.container.justify-content-md-center
%div.card
%div.card-body
%div.embed-responsive.embed-responsive-4by3{:id=>id}
%iframe.embed-responsive-item{:src=>"https://player.vimeo.com/video/#{id}", :allowfullscreen=>"allowfullscreen"}
|