<commit_before><% 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')      
  });
  
<% end %>

<% content_for :search do  %>
  <%= render :partial => 'search/form' %>
<%end%>

<% content_for :sidebar do  %>
  <%= render :partial => 'sidebar' %>
<% end %>


<div class="single_event">
  <div class="event_image">
    <% if space && space.id!=nil%>
      <div id="logo">
	    <%= link_logo(space, :size => "h64", :title=>space.name) %>
	  </div>
    <%else%>
      <div id="vcc-logo">
	    <%= link_to image_tag("vcc-logo-transparente1.png",:size=>"192x68"), root_path %>
	  </div>
    <% end %>
  </div>
  <p> <%=h space.description %> </p>
</div>


<div id="event_recordings" class="margin-up">
  
  <div id="recordings_title"><h3 class="blue"><%=t('space.recording.one')%></h3></div>
    <div id="recordings_content">	  
    	
	  <div id="videos">
	    <div class="video_full">
	      <%if @display_entry%>
	        <%=@display_entry.video_player("640","480")%>
	      <%end%>
	  </div>  
      		
	  <div id="share_insert_video">
	    <span class="share">Share</span> <span class="insert">Insert</span>
	
		<div id="url_share" class="url_share" style="display:none">
	      <%unless @space.public?%>
	        <%=t('event.recording.notice')%><br/>
	      <%end%>
	        
		  <div class="video_share"><span><%=t('event.recording.share')%></span></div>       
	        <form>
	          <span class="only_url"><%=t('url_plain')%>:</span>
			  <%if @display_entry%>
			  <input type="text" onclick="javascript:this.form.video_link.focus();this.form.video_link.select();" value="<%=space_event_url(@space, @display_entry.event, :show_video=> @display_entry ? @display_entry.id : 0) %>" name="video_link"></input>
			  <%end%>
			</form>
	      </div>
	      
		  <div id="embed_share" class="url_share" style="display:none">
	        <%unless @space.public?%>
	          <%=t('event.recording.notice')%><br/>
	        <%end%>
	      <div class="video_share"><span><%=t('event.recording.insert')%></span></div>       
	        <form>
	          <span class="only_url"><%=t('event.embed')%>:</span>
			   <%if @display_entry%>
			  <input type="text" onclick="javascript:this.form.video_embed.focus();this.form.video_embed.select();" value="<%=h shared_embed(@display_entry)%>" name="video_embed"></input>
			  <%end%>
			</form>
	      </div>
	  </div>
      			
      <div class="video-bar"> 	
	    <div class="video_properties">
	      <div>
	      	<% if @display_entry %>
	      	<span><%=t('event.one')%>: <%= @display_entry.event.name%></span>
			<% end %>
	      </div>
		  <div class="video_title">
		    <%if @display_entry%>
			  <span><%=@display_entry.title%></span>
			- <%=link_to(t('event.agenda.see'),space_event_path(@space, @display_entry.event,:show_agenda => true), {:id=>"view_agenda"})%>
			<%end%><commit_msg>bug solved, share and insert de videos2<commit_after><% 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');   
  });
  
<% end %>

<% content_for :search do  %>
  <%= render :partial => 'search/form' %>
<%end%>

<% content_for :sidebar do  %>
  <%= render :partial => 'sidebar' %>
<% end %>


<div class="single_event">
  <div class="event_image">
    <% if space && space.id!=nil%>
      <div id="logo">
	    <%= link_logo(space, :size => "h64", :title=>space.name) %>
	  </div>
    <%else%>
      <div id="vcc-logo">
	    <%= link_to image_tag("vcc-logo-transparente1.png",:size=>"192x68"), root_path %>
	  </div>
    <% end %>
  </div>
  <p> <%=h space.description %> </p>
</div>


<div id="event_recordings" class="margin-up">
  
  <div id="recordings_title"><h3 class="blue"><%=t('space.recording.one')%></h3></div>
    <div id="recordings_content">	  
    	
	  <div id="videos">
	    <div class="video_full">
	      <%if @display_entry%>
	        <%=@display_entry.video_player("640","480")%>
	      <%end%>
	  </div>  
      		
	  <div id="share_insert_video">
	    <span class="share">Share</span> <span class="insert">Insert</span>
	
		<div id="url_share" class="url_share" style="display:none">
	      <%unless @space.public?%>
	        <%=t('event.recording.notice')%><br/>
	      <%end%>
	        
		  <div class="video_share"><span><%=t('event.recording.share')%></span></div>       
	        <form>
	          <span class="only_url"><%=t('url_plain')%>:</span>
			  <%if @display_entry%>
			  <input type="text" onclick="javascript:this.form.video_link.focus();this.form.video_link.select();" value="<%=space_videos_url(@space)+ "/" + (@display_entry ? @display_entry.id : 0).to_s %>" name="video_link"></input>
			  <%end%>
			</form>
	      </div>
	      
		  <div id="embed_share" class="url_share" style="display:none">
	        <%unless @space.public?%>
	          <%=t('event.recording.notice')%><br/>
	        <%end%>
	      <div class="video_share"><span><%=t('event.recording.insert')%></span></div>       
	        <form>
	          <span class="only_url"><%=t('event.embed')%>:</span>
			   <%if @display_entry%>
			  <input type="text" onclick="javascript:this.form.video_embed.focus();this.form.video_embed.select();" value="<%=h shared_embed(@display_entry)%>" name="video_embed"></input>
			  <%end%>
			</form>
	      </div>
	  </div>
      			
      <div class="video-bar"> 	
	    <div class="video_properties">
	      <div>
	      	<% if @display_entry %>
	      	<span><%=t('event.one')%>: <%= @display_entry.event.name%></span>
			<% end %>
	      </div>
		  <div class="video_title">
		    <%if @display_entry%>
			  <span><%=@display_entry.title%></span>
			- <%=link_to(t('event.agenda.see'),space_event_path(@space, @display_entry.event,:show_agenda => true), {:id=>"view_agenda"})%>
			<%end%>
{'fraction_non_alphanumeric': 0.2331900734784417, 'fraction_numerical': 0.004852349923748787, 'mean_word_length': 3.3510253317249696, 'pattern_counts': {'":': 0, '<': 211, '<?xml version=': 0, '>': 226, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4802472', 'n_tokens_mistral': 2852, 'n_tokens_neox': 2511, 'n_words': 363}