<% menu(:videos) %> <%= content_for :javascript do %> $(".play_icon").livequery('click',function(){ $(this).siblings("a").click(); }); request_video_in_recordings = function(entry_id){ var route = "<%=space_videos_path(@space)%>/" + entry_id; document.location = route; }; /*jquery for toggling the share and insert bar in show videos*/ $("#share_insert .share").livequery('click',function () { $("#embed_share").hide(), $("#url_share").toggle('slow') }); $("#share_insert .insert").livequery('click',function () { $("#url_share").hide(), $("#embed_share").toggle('slow') }); $("#share_insert_video .share").livequery('click',function () { $("#embed_share").hide(); $("#url_isabel").hide(); $("#url_sip").hide(); $("#url_share").toggle('slow'); }); $("#share_insert_video .insert").livequery('click',function () { $("#url_share").hide(); $("#url_isabel").hide(); $("#url_sip").hide(); $("#embed_share").toggle('slow'); }); $('#atach_and_stats img.tooltip_num_views').qtip({ content: '<%=t("tooltip.num_views")%>', position: {adjust: { screen: true }}, show: 'mouseover', hide: { when: 'mouseout', fixed: true }, style: 'mystyle' }); $('#event_recordings img.tooltip_share').qtip({ content: '<%=t("tooltip.share")%>', position: {adjust: { screen: true }}, show: 'mouseover', hide: { when: 'mouseout', fixed: true }, style: 'mystyle' }); $('#event_recordings img.tooltip_insert').qtip({ content: '<%=t("tooltip.insert")%>', position: {adjust: { screen: true }}, show: 'mouseover', hide: { when: 'mouseout', fixed: true }, style: 'mystyle' }); $('#sidebar img.tooltip_space_video').qtip({ content: '<%=t("tooltip.space_video")%>', position: {adjust: { screen: true }}, show: 'mouseover', hide: { when: 'mouseout', fixed: true }, style: 'mystyle' }); $('#sidebar img.tooltip_search_video').qtip({ content: '<%=t("tooltip.search_video")%>', position: {adjust: { screen: true }}, show: 'mouseover', hide: { when: 'mouseout', fixed: true }, style: 'mystyle' }); <% end %> <%= content_for :search do %> <%= render :partial => 'search/form' %> <%end%> <%= content_for :sidebar do %> <%= render :partial => 'sidebar' %> <% end %>
<% if space && space.id!=nil%> <%else%> <% end %>

<%=h space.description %>

<%=t('space.recording.one')%> <%if params[:action]=="edit"%> <%= link_to t('video.close_edit'), space_video_path(@space, @display_entry) %> <%elsif @display_entry && @display_entry.authorize?(:update, :to => current_user) && (Time.now > Time.parse("2010-12-21")) %> <%= link_to image_tag("icons/pencil.png", :alt => t('event.edit'),:class=>"icon"), edit_space_video_path(@space, @display_entry),:title => t('video.edit') %> <%end%>

<%if @display_entry && params[:action]=="edit"%> <%=@display_entry.video_editor("640","480")%> <%elsif @display_entry%> <%=@display_entry.video_player("640","480")%> <%end%>
Insert
<% if @display_entry %> <%=t('event.one')%>: <%= @display_entry.event.name%> <% end %>
<%if @display_entry%> <%=@display_entry.title%> - <%=link_to(t('event.agenda.see'),space_event_path(@space, @display_entry.event,:show_agenda => true), {:id=>"view_agenda"})%> <%end%>
<%if @display_entry%> <%=t('agenda.entry.speakers')%>: <%=entry_speakers(@display_entry)%> <%end%>
<%if @display_entry%> <%=t('agenda.entry.description')%>: <%=@display_entry.description %> <%end%>
<%if @display_entry%> <%=t('agenda.entry.documents')%>: <% @display_entry.attachments.each do |a| %> <%=image_tag("icons/attach.png", :class=>"icon")%> <%= link_to(a.filename , space_attachment_path(@space,a, :format => a.format!))%> <%end %> <%end%>
<%if @display_entry%> <%=@display_entry.video_unique_pageviews%><%=t('statistics.views')%> <%=image_tag("icons/help.png",:title=>"",:size=>"16x16",:class=>"tooltip_num_views icon",:style=>"cursor:pointer")%> <%end%>