fix: misc lesson fixes

This commit is contained in:
Jannat Patel
2024-04-17 16:46:20 +05:30
parent d2491b81c0
commit 86713db75e
8 changed files with 72 additions and 15 deletions

View File

@@ -16,7 +16,7 @@ export class Upload {
renderUpload(file) {
if (this.isVideo(file.file_type)) {
return `<video controls width='100%' controls controlsList='nodownload' class="mb-4">
return `<video controls width='100%' controlsList='nodownload' class="mb-4">
<source src=${encodeURI(file.file_url)} type='video/mp4'>
</video>`
} else if (this.isAudio(file.file_type)) {