fix: misc lesson issues
This commit is contained in:
@@ -16,7 +16,7 @@ export class Upload {
|
||||
|
||||
renderUpload(file) {
|
||||
if (this.isVideo(file.file_type)) {
|
||||
return `<video controls width='100%' controlsList='nodownload' class="mb-4">
|
||||
return `<video controls width='100%' controlsList='nodownload' class="mb-4" oncontextmenu="return false;">
|
||||
<source src=${encodeURI(file.file_url)} type='video/mp4'>
|
||||
</video>`
|
||||
} else if (this.isAudio(file.file_type)) {
|
||||
|
||||
Reference in New Issue
Block a user