fix: certificate, profile, quiz, and video markdown

This commit is contained in:
pateljannat
2021-08-25 21:01:13 +05:30
parent 952e3a9906
commit ff1363b437
13 changed files with 158 additions and 62 deletions

View File

@@ -106,3 +106,6 @@ def youtube_video_renderer(video_id):
allowfullscreen>
</iframe>
"""
def video_renderer(src):
return "<video controls width='100%'><source src={0} type='video/mp4'></video>".format(src)