openfun / fun-apps

:warning: DEPRECATED :warning:
Other
15 stars 20 forks source link

✨(videoproviders) try loading VideoFront videos from metadata file #717

Closed sampaccoud closed 3 years ago

sampaccoud commented 3 years ago

Purpose

We want to protect against VideoFront server downtimes (including very long ones :stuck_out_tongue:).

Proposal

A ready-made VideoFront video document was added as a metadata json file in the S3 bucket alongside each video (example: https://d381hmu4snvm3e.cloudfront.net/videos/0UMvtYaQrrxr/metadata.json).

We first try getting the video document from this metadata json file, and fall back to the previous behavior: requesting it to the VideoFront API.

sampaccoud commented 3 years ago

@madmatah thanks for the help. I can't wait to switch off VideoFront :star_struck: After lunch I will propose you 2 more pull requests: