WGBH-MLA / stock-sales-2

Public Stock Sales Site
Apache License 2.0
0 stars 2 forks source link

Watermarked video download needs to contain the GBH id number #276

Closed afred closed 8 years ago

afred commented 8 years ago

Done when watermarked videos contain the GBH id number in the downloaded filename

Muraszko-wgbh commented 8 years ago

The watermarked video files are hosted on S3 with the GBH ID as their file names. Are they being renamed when downloaded?

afred commented 8 years ago

i thought it was weird if we had changed the names. This will take a little peeking

mccalluc commented 8 years ago

The filename is coming from the HTTP header we ask AWS to provide:

class DownloadsController < AwsRedirectController
  def extra_params
    {response_content_disposition: "attachment; filename=wgbh-stock-sales.mov"}
  end
end
afred commented 8 years ago

Super. Should be an easy change then. But what should it be? Some options:

  1. "GBH00128384000004.mov" (is ID-only sufficient? Not very user friendly)
  2. "WGBH Stock Footage - GBH00128384000004.mov" (Is this too long?)