From 2df14a87186b2edd07ccbf136f5e4495c366ef6f Mon Sep 17 00:00:00 2001 From: Ben Warzeski Date: Tue, 6 Jun 2023 10:09:48 -0400 Subject: [PATCH] feat: add public video url copy interface (#32293) --- lms/templates/video.html | 64 +++++++++++++++---- .../js/src/video/036_video_social_sharing.js | 28 +++++++- 2 files changed, 78 insertions(+), 14 deletions(-) diff --git a/lms/templates/video.html b/lms/templates/video.html index 6a6e7d62c4..c3a9e08e03 100644 --- a/lms/templates/video.html +++ b/lms/templates/video.html @@ -54,33 +54,70 @@ from openedx.core.djangolib.js_utils import ( % if download_video_link or public_sharing_enabled:

${_('Video')}

+ % if download_video_link: + + + ${_('Download video file')} + + % endif + % if download_video_link and public_sharing_enabled: +
+ % endif % if sharing_sites_info: % endif - % if download_video_link and public_sharing_enabled: -
- % endif - % if download_video_link: - - - ${_('Download video file')} - - % endif
% endif % if track: @@ -116,6 +153,7 @@ from openedx.core.djangolib.js_utils import ( % endif + % if cdn_eval: