diff --git a/frontend/src/utils/index.js b/frontend/src/utils/index.js index 9c717596..f2c24ce2 100644 --- a/frontend/src/utils/index.js +++ b/frontend/src/utils/index.js @@ -260,7 +260,8 @@ export function getEditorTools() { }, cloudflareStream: { regex: /https:\/\/customer-[a-z0-9]+\.cloudflarestream\.com\/([a-f0-9]{32})\/watch/, - embedUrl: 'https://iframe.videodelivery.net/<%= remote_id %>', + embedUrl: + 'https://iframe.videodelivery.net/<%= remote_id %>', html: ``, diff --git a/lms/lms/utils.py b/lms/lms/utils.py index 26c4903a..a069acb7 100644 --- a/lms/lms/utils.py +++ b/lms/lms/utils.py @@ -181,7 +181,7 @@ def get_lesson_icon(body, content): if block.get("type") == "embed" and block.get("data").get("service") in [ "youtube", "vimeo", - "cloudflareStream" + "cloudflareStream", ]: return "icon-youtube"