Sha256: c7eea2beec947d5e2fd0d59aa71f357e21a9713f8317f985424ffa93946cfb70

Contents?: true

Size: 498 Bytes

Versions: 9

Compression:

Stored size: 498 Bytes

Contents

<% if video_file %>
  <%= link_to t('.view_video'), 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

9 entries across 9 versions & 1 rubygems

Version Path
pageflow-0.9.2 app/views/pageflow/pages/_video_tag.html.erb
pageflow-0.9.1 app/views/pageflow/pages/_video_tag.html.erb
pageflow-0.9.0 app/views/pageflow/pages/_video_tag.html.erb
pageflow-0.8.2 app/views/pageflow/pages/_video_tag.html.erb
pageflow-0.8.1 app/views/pageflow/pages/_video_tag.html.erb
pageflow-0.8.0 app/views/pageflow/pages/_video_tag.html.erb
pageflow-0.7.2 app/views/pageflow/pages/_video_tag.html.erb
pageflow-0.7.1 app/views/pageflow/pages/_video_tag.html.erb
pageflow-0.7.0 app/views/pageflow/pages/_video_tag.html.erb