Commit 4bf542ef18deea03abe679bfadb55d6e0b55708e

Authored by Daniela Feitosa
1 parent dfa6a614

Fixed broken html

(ActionItem2823)
plugins/video/views/box_organizer/_html5_video_block.rhtml
1   -<video controls preload="auto" width=<%="#{width}px"%> height=<%="#{height}px"%>>
  1 +<video controls preload="auto" width='<%="#{width}px"%>' height='<%="#{height}px"%>'>
2 2 <source src=<%= "#{url}" %>>
3   -</video>
4 3 \ No newline at end of file
  4 +</video>
... ...
plugins/video/views/box_organizer/_iframe_video_block.rhtml
1   -<iframe width=<%="#{width}px"%> height=<%="#{height}px"%> src=<%= "#{url}" %> frameborder="0" allowfullscreen></iframe>
  1 +<iframe width='<%="#{width}px"%>' height='<%="#{height}px"%>' src='<%= "#{url}" %>' frameborder="0" allowfullscreen></iframe>
... ...
plugins/video/views/video_block.rhtml
... ... @@ -15,7 +15,7 @@
15 15 <%= render :partial => 'box_organizer/html5_video_block', :locals => { :url => block.url, :width => block.width, :height => block.height }%>
16 16 </div>
17 17 <% else %>
18   - <span class='alert-block'><%= _("Register a new url (Vimeo, Youtube, Other)") %>
  18 + <span class='alert-block'><%= _("Register a new url (Vimeo, Youtube, Other)") %></span>
19 19 <% end %>
20 20  
21 21 </div>
... ...