diff --git a/app/controllers/playback_controller.rb b/app/controllers/playback_controller.rb index 4dc5b4c0..45de4b92 100644 --- a/app/controllers/playback_controller.rb +++ b/app/controllers/playback_controller.rb @@ -96,7 +96,7 @@ def deliver_resource resource_path = request.original_fullpath static_resource_path = "/static-resource#{resource_path}" response.headers['X-Accel-Redirect'] = static_resource_path - response.headers['Content-Disposition'] = "attachment" + response.headers['Content-Disposition'] = "attachment" unless %w[presentation, video, screenshare].include?(@playback_format.format) head(:ok) end