app/views/promethee/components/video/_show.html.erb in promethee-1.2.24 vs app/views/promethee/components/video/_show.html.erb in promethee-1.2.25
- old
+ new
@@ -7,10 +7,12 @@
elsif 'youtube'.in? url
video_id = url.to_s.split('watch?v=').last
iframe_src = "http://www.youtube.com/embed/#{video_id}"
end
%>
-<div class="embed-responsive embed-responsive-16by9 <%= promethee_class_for component %>">
- <% if iframe_src.present? %>
- <iframe frameborder="0" webkitallowfullscreen="" mozallowfullscreen="" allowfullscreen="allowfullscreen" src="<%= iframe_src %>"></iframe>
- <% end %>
+<div class="<%= promethee_class_for component %>">
+ <div class="embed-responsive embed-responsive-16by9">
+ <% if iframe_src.present? %>
+ <iframe frameborder="0" webkitallowfullscreen="" mozallowfullscreen="" allowfullscreen="allowfullscreen" src="<%= iframe_src %>"></iframe>
+ <% end %>
+ </div>
</div>