Add support for vimeo videos with course-searchable captions #357
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Modify edx requirements to include our fork of video_xblock and pycaption (whose requirements have been modified to work with our installation, and tested in devstack).
(Including config change for docker-devstack that is needed to test indexing/searching.)
Story Link
EDX-265 - As a UC San Diego Online content developer, I want to be able to link to private Vimeo videos, load captions from the video, and have them searchable in my class.
PR Description
Adds two libraries to edx dependencies, forks of xblock_video and pycaption, which are forked because those packages specify overly strict version requirements on their dependencies which conflict with our EdX installation.
Type of change
Please select the options that are relevant.
How to test?
With openedx-special on commit a29b18c or newer and PR#16 merged into openedx-config:
Create a course in studio. From Settings > advanced settings, add "video_xblock" to the advanced module list, and save. Then, from any unit, "Add New Component" > Advanced > Video.
Click the block's edit link, enter the url for a private Vimeo video, https://vimeo.com/396547794 , and click Save.
Click the block's edit link, and click the 'Advanced' button. Verify that the configured API key is present (ending in ...6cd8), though technically you verified that by the video coming up at all. Next to Default Timed Transcript, click the slider on 'Show Available default transcripts'
Click 'Fetch' next to that transcript.
Click Save.
Publish the unit, and go to the live version of the course. From the course home, search for a phrase uniqe to this video's transcript, like 'Climate'