Sha256: a79dbb3efb73992a6de808ea27b8da87bbcf74acb4925976b10dd5d8e646da5f

Contents?: true

Size: 497 Bytes

Versions: 12

Compression:

Stored size: 497 Bytes

Contents

<% if video_file %>
  <%= link_to 'Video ansehen', short_video_file_path(video_file.entry, video_file), :class => 'hint'%>
<% end %>

<%= content_tag :script, :type => 'text/html', :data => script_tag_data do %>
  <%= content_tag :video, options do %>
    <% if video_file %>
      <% video_file_sources(video_file, url_options).map do |v| %>
        <%= tag(:source, :src => v[:src], :type => v[:type], :data => {:high_src => v[:high_src]}) %>
      <% end %>
    <% end %>
  <% end %>
<% end %>

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
pageflow-0.6.0 app/views/pageflow/pages/_video_tag.html.erb
pageflow-0.5.0 app/views/pageflow/pages/_video_tag.html.erb
pageflow-0.4.0 app/views/pageflow/pages/_video_tag.html.erb
pageflow-0.3.0 app/views/pageflow/pages/_video_tag.html.erb
pageflow-0.2.1 app/views/pageflow/pages/_video_tag.html.erb
pageflow-0.2.0 app/views/pageflow/pages/_video_tag.html.erb
pageflow-0.1.0 app/views/pageflow/pages/_video_tag.html.erb
pageflow-0.0.5 app/views/pageflow/pages/_video_tag.html.erb
pageflow-0.0.4 app/views/pageflow/pages/_video_tag.html.erb
pageflow-0.0.3 app/views/pageflow/pages/_video_tag.html.erb
pageflow-0.0.2 app/views/pageflow/pages/_video_tag.html.erb
pageflow-0.0.1 app/views/pageflow/pages/_video_tag.html.erb