mitodl / odl-video-service

building blocks for a basic video service for ODL
BSD 3-Clause "New" or "Revised" License
4 stars 1 forks source link

Download links for public videos #639

Closed pdpinch closed 6 years ago

pdpinch commented 6 years ago

As a Blossoms user, I'd like to be able to download videos using original TechTV URLs.

pdpinch commented 6 years ago

This will require some initial research into the structure of the old TechTV URLs.

We will also need to decide if we will still return some of the outdated formats, like QuickTime.

emmello commented 6 years ago

The quicktime videos probably predate AWS. Since TTV moved, the options for download were mp4. Some older links had "original" but newer ones allowed a basic video download along with a higher res option.

One example of how it looked is on the right hand margin here:
image

pdpinch commented 6 years ago

@emmello is going to recommend to Blossoms that they download the video into their dropbox and share it.

pdpinch commented 6 years ago

We discussed further with the Blossom folks and our plan is to support two download URL patterns:

old techtv links:

http://techtv.mit.edu/videos/[VIDEO ID]/download.mp4 (any extension should return the same mp4 file)

new OVS videos:

https://video.odl.mit.edu/videos/[VIDEO KEY]/download

We should also test the links with the Blossoms implementation, which appears to proxy the download URL through their web application.

mbertrand commented 6 years ago

This should only work for public videos, right? Return a 404 if someone tries a download link for a non-public video?

pdpinch commented 6 years ago

Yes, public only.

Thanks for the reminder.