Skip to content

Commit

Permalink
'revert ci video to non-streaming method' (#2527)
Browse files Browse the repository at this point in the history
  • Loading branch information
foglabs authored Jan 10, 2023
1 parent 39efdac commit 0216832
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions app/controllers/media_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0216832

Please sign in to comment.