BYU-ARCLITE / Ayamel-Examples

A site which uses the resource library and provides example of the six levels of video playback.
11 stars 7 forks source link

Import captions from YouTube #75

Open camman3d opened 11 years ago

gliese1337 commented 10 years ago

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

gliese1337 commented 10 years ago

This is too hard. If people ask for it, we'll re-open this issue.

gliese1337 commented 9 years ago

Looks like this might be worth revisiting now: https://developers.google.com/youtube/v3/docs/captions

JKJensen commented 8 years ago

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

JKJensen commented 8 years ago

Youtube now has crowdsourced captioning services, allowing anyone to caption others videos. (As long as the content owner has granted those permissions)

screenshot 2016-04-27 17 18 06 screenshot 2016-04-27 17 18 21

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. refreshcaptions-from-youtube

A dialogue box will show up like this: loadtrack-from-youtube-refresh

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.