diff --git a/common/lib/xmodule/xmodule/video_module.py b/common/lib/xmodule/xmodule/video_module.py index f902a9665b..ddc91392b9 100644 --- a/common/lib/xmodule/xmodule/video_module.py +++ b/common/lib/xmodule/xmodule/video_module.py @@ -139,7 +139,8 @@ class VideoModule(VideoFields, XModule): 'show_captions': self.show_captions, 'start': self.start_time, 'end': self.end_time, - 'normal_speed_video_id': normal_speed_video_id + 'normal_speed_video_id': normal_speed_video_id, + 'in_lms': True if self.system.course_id is not None else False }) diff --git a/lms/templates/video.html b/lms/templates/video.html index 24785abf72..558c7acec2 100644 --- a/lms/templates/video.html +++ b/lms/templates/video.html @@ -39,3 +39,9 @@

Download subtitles here.

% endif + +%if in_lms: + +%else: + +%endif