<%if @event.is_happening_now? %>
<%unless @event.vc_mode == Event::VC_MODE.index(:in_person)%>
<%if @event.agenda.agenda_entries.empty?%>
<%=t('please')%>
<%=t("event.help.define2")%> <%=t('event.help.define3')%>
<%elsif @event.web_interface? && !@event.has_streaming?%>
<%= @event.web current_user.login %>
<%else%>
<%if @event.web_interface? && !params[:web_client]%>
<%=link_to("participate",space_event_path(@space, @event, :web_client=>true))%>
<%= @event.streaming(640, 480)%>
<%elsif @event.web_interface? && params[:web_client]%>
<%=link_to("close",space_event_path(@space, @event))%>
<%= @event.web%>
<%else%>
<%= @event.streaming(640, 480)%>
<%end%>
<%end%>
<%end%>
<%unless @space.public?%>
<%=t('event.recording.notice')%>
<%end%>
<%=t('event.recording.share')%>
<% else %>

<% if @event.past? %>
Past event. No streaming
<% else %>
Web participation and streaming will be available at the time of the event
<% end %>
<% end %>
<%end%>