feat: course page redesign

This commit is contained in:
Jannat Patel
2022-02-18 12:26:08 +05:30
parent aaae9fe8bc
commit dc3843087e
9 changed files with 96 additions and 56 deletions

View File

@@ -114,10 +114,11 @@ def exercise_renderer(argument):
def youtube_video_renderer(video_id):
return f"""
<iframe width="100%" height="315"
<iframe width="100%" height="400"
src="https://www.youtube.com/embed/{video_id}"
title="YouTube video player"
frameborder="0"
style="border-radius: var(--border-radius-lg)"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
allowfullscreen>
</iframe>