debate-watch / issue-tracker

1 stars 1 forks source link

YouTube Video Disappearance-Handling #9

Open s2t2 opened 8 years ago

s2t2 commented 8 years ago

Sometimes YouTube videos get deleted by their uploader and are no longer available for viewing on Debate Watch. Example: https://www.youtube.com/watch?v=pBiPlVGU8PU

To circumvent the inconvenience this places on the system (viewers are no longer able to view and rate, current ratings lose benefits of further demographic comparison, site dependability suffers), one of the following suggested courses of action should be adopted:

A) Identification and Removal

A scheduled job should identify any videos that have been deleted, and should flag them for removal from the library.

Pros:

Cons/Issues:

B) Source File Downloading and Self-Hosting

Upon being added to the video library, the source video file (.mp4) and thumbnail images (.png) should be downloaded to a local filesystem and backed-up to Amazon s3.

The system should conditionally render the proper video player (YouTube iFrame API by default for videos that are still available, JWPlayer for "self-hosted" videos).

Pros:

Cons/Issues:

s2t2 commented 8 years ago

C) Source Restrictions

Only videos from whitelisted sources with a high likelihood of remaining published should be added to the video library. Example: https://www.youtube.com/watch?v=89FbCPzAsRA

Pros:

Cons: