diff --git a/xmodule/video_block/video_block.py b/xmodule/video_block/video_block.py index 3abafa153c75..382a1dbf8538 100644 --- a/xmodule/video_block/video_block.py +++ b/xmodule/video_block/video_block.py @@ -878,6 +878,7 @@ def get_context(self): video_id = metadata_fields['edx_video_id'] youtube_id_1_0 = metadata_fields['youtube_id_1_0'] transcript_url = metadata_fields['transcript_url'] + transcript_download_role = metadata_fields['transcript_download_role'] def get_youtube_link(video_id): """ @@ -935,7 +936,8 @@ def get_youtube_link(video_id): 'display_name': display_name, 'video_url': video_url, 'edx_video_id': video_id, - 'transcript_url': transcript_url + 'transcript_url': transcript_url, + 'transcript_download_role': transcript_download_role } _context.update({'transcripts_basic_tab_metadata': metadata})