Use edx-val transcripts and translations collectively with contentstore.
Adds val trancripts in outcome of get_transcripts_info and rest of flow remains the same and also add fallback to edx-val rtanscripts for mobile accessible video endpoints.
Showing
- cms/djangoapps/contentstore/tests/test_transcripts_utils.py 10 additions, 0 deletionscms/djangoapps/contentstore/tests/test_transcripts_utils.py
- cms/djangoapps/contentstore/views/tests/test_videos.py 3 additions, 1 deletioncms/djangoapps/contentstore/views/tests/test_videos.py
- cms/djangoapps/contentstore/views/transcripts_ajax.py 18 additions, 16 deletionscms/djangoapps/contentstore/views/transcripts_ajax.py
- cms/templates/js/course-video-settings.underscore 1 addition, 1 deletioncms/templates/js/course-video-settings.underscore
- common/lib/xmodule/xmodule/video_module/transcripts_utils.py 83 additions, 14 deletionscommon/lib/xmodule/xmodule/video_module/transcripts_utils.py
- common/lib/xmodule/xmodule/video_module/video_handlers.py 54 additions, 50 deletionscommon/lib/xmodule/xmodule/video_module/video_handlers.py
- common/lib/xmodule/xmodule/video_module/video_module.py 9 additions, 17 deletionscommon/lib/xmodule/xmodule/video_module/video_module.py
- lms/djangoapps/courseware/tests/test_video_handlers.py 75 additions, 0 deletionslms/djangoapps/courseware/tests/test_video_handlers.py
- lms/djangoapps/courseware/tests/test_video_mongo.py 39 additions, 0 deletionslms/djangoapps/courseware/tests/test_video_mongo.py
- lms/djangoapps/mobile_api/video_outlines/serializers.py 7 additions, 2 deletionslms/djangoapps/mobile_api/video_outlines/serializers.py
- lms/djangoapps/mobile_api/video_outlines/tests.py 88 additions, 2 deletionslms/djangoapps/mobile_api/video_outlines/tests.py
- lms/djangoapps/mobile_api/video_outlines/views.py 29 additions, 6 deletionslms/djangoapps/mobile_api/video_outlines/views.py
Loading
Please register or sign in to comment