diff --git a/app/controllers/media_controller.rb b/app/controllers/media_controller.rb index 618e583f29..b9d04797bc 100644 --- a/app/controllers/media_controller.rb +++ b/app/controllers/media_controller.rb @@ -15,11 +15,7 @@ def show private def media_url - @media_url ||= if pbcore.video? - sony_ci.asset_stream_hls_url(ci_id) - elsif pbcore.audio? - sony_ci.asset_download(ci_id)['location'] - end + @media_url ||= sony_ci.asset_download(ci_id)['location'] end def ci_id