fix bug with autoplay #62

Closed
bilal.catic wants to merge 2 commits from fix-stream-autoplay into master
Showing only changes of commit 7fe1dadaf2 - Show all commits

View File

@@ -25,6 +25,7 @@ $(document).on "turbolinks:load", ->
if data.streamer_status == 'recording' && data.status == 'active' && stream_selected
$("#broadcast_video").html data.video_content
new (Clappr.Player)(
<%= "baseUrl: 'http://cdn.clappr.io/latest'," if Rails.env.test? %>
parentId: '#broadcast_video'
source: data.full_live_stream_playback_url
width: '100%',