<%= content_for :meta do %> <% if @project %> <% end %> <% if @broadcast %> <% end %> <% # Subscribe to Action Cable for every broadcast including those in multi-view %> <% @multi_view_broadcasts.each do |multi_view_broadcast| %> <% if multi_view_broadcast.token != @broadcast.token %> <% end %> <% end %> <% end %> <% content_for :header do %>
<%= product_wordmark(:direct_me, class: 'navbar-brand') %>
<% end %>

<%= @broadcast.name %>

<%= render partial: 'broadcasts/video', locals: { broadcast: @broadcast } %> <% if @broadcast.streamer_recording? && @broadcast.active? %> <%= javascript_tag nonce: true do %> new Clappr.Player({ parentId: '#broadcast_video', source: "<%= @broadcast.stream_playback_url %>", width: '100%', height: '100%', mute: true, autoPlay: true, hlsMinimumDvrSize: 1 }); <% end %> <% end %>
!params[:active_tab].present?) %>" id="home">
<%= render partial: 'broadcasts/broadcast_status', locals: { broadcast: @broadcast } %>
<% unless controller.class.module_parent.to_s == "Public" %>
<% if @multi_view_broadcasts.present? %> <% tokens = @multi_view_broadcasts.map(&:token) %>
<% else %>
<% end %>

<% end %>

If you want to join the ZOOM meeting dedicated to this broadcast, follow the link below.

<%= link_to 'Video Conference', @conference_url, class: 'btn btn-primary btn-block', target: '_blank' %>
params[:active_tab] == 'recordings') %>" id="recordings">
<%= render partial: 'broadcasts/broadcast_recordings', locals: { recordings: @recordings, broadcast: @broadcast } %>

Files

<% if @multi_view_broadcasts %> <% end %>
<% if @multi_view_broadcasts.present? %> <% @multi_view_broadcasts.each_with_index do |mvb, index| %>
(params[:active_files_tab] == mvb.token || (params[:active_files_tab].nil? && index == 0))) %>" id="files_broadcast_<%= mvb.token %>"> <%= render partial: 'broadcasts/files_section', locals: { broadcast: mvb, files: mvb.files } %>
<% end %> <% else %>
<%= render partial: 'broadcasts/files_section', locals: { broadcast: @broadcast, files: @files } %>
<% end %>