mirror of
https://github.com/frappe/lms.git
synced 2026-05-02 13:39:31 +03:00
feat: editor js import
This commit is contained in:
@@ -138,6 +138,7 @@ def youtube_video_renderer(video_id):
|
||||
|
||||
|
||||
def video_renderer(src):
|
||||
print(src)
|
||||
return f"<video controls width='100%'><source src={src} type='video/mp4'></video>"
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user