We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4135669 commit 3a70491Copy full SHA for 3a70491
app/controllers/downloads_controller.rb
@@ -34,7 +34,7 @@ def send_hls
34
playlist.items.each do |item|
35
item.segment = "#{item.segment}?auth_token=#{params[:auth_token]}"
36
end
37
- render plain: playlist.to_s
+ send_data(playlist.to_s, type: "application/x-mpegurl", disposition: :inline)
38
39
40
def send_fgdc
0 commit comments