Sha256: 638356815c306468a1bb16abcf9227d76e0e75fd957ae606235aa3342d33f850

Contents?: true

Size: 761 Bytes

Versions: 25

Compression:

Stored size: 761 Bytes

Contents

<% content_for :javascript do %>

  $("#jpId<%=video.id%>").jPlayer( {
    ready: function () {
      $(this).jPlayer("setMedia", {
        webmv: "<%= video_path(video)+"?style=webm" %>", // Defines the webm url
		flv: "<%= video_path(video)+"?style=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 %>

Version data entries

25 entries across 25 versions & 2 rubygems

Version Path
social_stream-0.11.8 documents/app/views/videos/_video.html.erb
social_stream-documents-0.3.3 app/views/videos/_video.html.erb
social_stream-0.11.7 documents/app/views/videos/_video.html.erb
social_stream-0.11.6 documents/app/views/videos/_video.html.erb
social_stream-documents-0.3.2 app/views/videos/_video.html.erb
social_stream-0.11.5 documents/app/views/videos/_video.html.erb
social_stream-0.11.4 documents/app/views/videos/_video.html.erb
social_stream-0.11.3 documents/app/views/videos/_video.html.erb
social_stream-0.11.2 documents/app/views/videos/_video.html.erb
social_stream-0.11.1 documents/app/views/videos/_video.html.erb
social_stream-documents-0.3.1 app/views/videos/_video.html.erb
social_stream-0.11.0 documents/app/views/videos/_video.html.erb
social_stream-documents-0.3.0 app/views/videos/_video.html.erb
social_stream-0.10.4 documents/app/views/videos/_video.html.erb
social_stream-0.10.3 documents/app/views/videos/_video.html.erb
social_stream-0.10.2 documents/app/views/videos/_video.html.erb
social_stream-0.10.1 documents/app/views/videos/_video.html.erb
social_stream-0.10.0 documents/app/views/videos/_video.html.erb
social_stream-0.9.7 documents/app/views/videos/_video.html.erb
social_stream-0.9.6 documents/app/views/videos/_video.html.erb