feat: Added embedding for CloudflareStream

This commit is contained in:
safe user
2025-04-23 11:50:40 +00:00
parent 513f1e8b86
commit befa3d7a6d
2 changed files with 8 additions and 0 deletions

View File

@@ -181,6 +181,7 @@ def get_lesson_icon(body, content):
if block.get("type") == "embed" and block.get("data").get("service") in [
"youtube",
"vimeo",
"cloudflareStream"
]:
return "icon-youtube"