Sha256: ba4114b2bc36191b26f724113a039e6622e734ee18800f3412fcede28a45b04d

Contents?: true

Size: 810 Bytes

Versions: 30

Compression:

Stored size: 810 Bytes

Contents

<% content_for :javascript do %>

  $("#jpId<%=video.id%>").jPlayer( {
    ready: function () {
      $(this).jPlayer("setMedia", {
        webmv: "<%= video_url(video, :format => 'webm' ) %>", // Defines the webm url
        flv:   "<%= video_url(video, :format => 'flv') %>"
      });
    },
	solution:"flash, html",
	preload: "none",
	supplied: "webmv, flv",
	swfPath: "assets",
	cssSelectorAncestor: "#jp_interface_<%=video.id%>"
  });
  
  hideJplayer(<%=video.id%>);
  
<% end %>

<%= div_for video, :class => 'content_size' do %>

  <% if video.file_processing %>
    <%= render :partial => 'videos/video_processing', :locals => {:video => video}%>
  <% else %>
    <%= render :partial => 'videos/video_processed', :locals => {:video => video}%>  
  <% end %>

<% end %>

<div class="clearfloat"></div>

Version data entries

30 entries across 30 versions & 2 rubygems

Version Path
social_stream-0.23.2 documents/app/views/videos/_video.html.erb
social_stream-documents-0.11.4 app/views/videos/_video.html.erb
social_stream-0.23.1 documents/app/views/videos/_video.html.erb
social_stream-documents-0.11.3 app/views/videos/_video.html.erb
social_stream-0.22.1 documents/app/views/videos/_video.html.erb
social_stream-documents-0.11.2 app/views/videos/_video.html.erb
social_stream-0.22.0 documents/app/views/videos/_video.html.erb
social_stream-0.21.4 documents/app/views/videos/_video.html.erb
social_stream-documents-0.11.1 app/views/videos/_video.html.erb
social_stream-0.21.3 documents/app/views/videos/_video.html.erb
social_stream-0.21.2 documents/app/views/videos/_video.html.erb
social_stream-0.21.1 documents/app/views/videos/_video.html.erb
social_stream-0.21.0 documents/app/views/videos/_video.html.erb
social_stream-documents-0.11.0 app/views/videos/_video.html.erb
social_stream-0.20.2 documents/app/views/videos/_video.html.erb
social_stream-documents-0.10.2 app/views/videos/_video.html.erb
social_stream-0.20.1 documents/app/views/videos/_video.html.erb
social_stream-documents-0.10.1 app/views/videos/_video.html.erb
social_stream-0.20.0 documents/app/views/videos/_video.html.erb
social_stream-documents-0.10.0 app/views/videos/_video.html.erb