Open camman3d opened 11 years ago
This is too hard. If people ask for it, we'll re-open this issue.
Looks like this might be worth revisiting now: https://developers.google.com/youtube/v3/docs/captions
When a user uploads ANY YouTube video, we should check if that video has subtitles (including automated ones).
If so, then those subtitles are automatically loaded in with the following name format: "Subtitle Track Name DASH YouTube"
So a given YouTube video might populate the captions list with: English (auto-generated) - YouTube Spanish - YouTube
Youtube now has crowdsourced captioning services, allowing anyone to caption others videos. (As long as the content owner has granted those permissions)
This means YouTube videos will have subtitle content added to them periodically.
To prepare for this, we will need a "Refresh YouTube Subtitles" button in the Captions/Subtitles menu IF and only if the video is from YouTube.
A dialogue box will show up like this:
Which will have the following text and instructions:
Current subtitles with “YouTube” in their name will be deleted and replaced by subtitles from the original video:
[YouTube Link]
New subtitle tracks will be added if they are available.
Refreshing the captions will delete any Captions with the word "YouTube" in them, and upload all Captions available from YouTube.
We'll want to have a button for this on the caption management page / dialog box to go along with the ability to upload from disk and link to an existing resource for any video resources that contain YouTube links as one of their possible representations.
References:
https://developers.google.com/youtube/2.0/developers_guide_protocol_captions?csw=1 https://developers.google.com/youtube/2.0/developers_guide_protocol_oauth2 https://code.google.com/p/gdata-samples/source/browse/trunk/gdata/captions_demo.py