fix failing spec related to clappr ttf asset
This commit is contained in:
@@ -25,6 +25,7 @@ $(document).on "turbolinks:load", ->
|
|||||||
if data.streamer_status == 'recording' && data.status == 'active' && stream_selected
|
if data.streamer_status == 'recording' && data.status == 'active' && stream_selected
|
||||||
$("#broadcast_video").html data.video_content
|
$("#broadcast_video").html data.video_content
|
||||||
new (Clappr.Player)(
|
new (Clappr.Player)(
|
||||||
|
<%= "baseUrl: 'http://cdn.clappr.io/latest'," if Rails.env.test? %>
|
||||||
parentId: '#broadcast_video'
|
parentId: '#broadcast_video'
|
||||||
source: data.full_live_stream_playback_url
|
source: data.full_live_stream_playback_url
|
||||||
width: '100%',
|
width: '100%',
|
||||||
Reference in New Issue
Block a user