fix failing spec related to clappr ttf asset

This commit is contained in:
Bilal
2020-07-24 03:21:43 +02:00
parent c6c10587c8
commit 7fe1dadaf2

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%',