mirror of
https://github.com/rzmk/learnhouse.git
synced 2025-12-19 04:19:25 +00:00
feat: enable autoplay and mute for video component in course display
This commit is contained in:
parent
70ce4bcac6
commit
3ea5aa761f
1 changed files with 2 additions and 0 deletions
|
|
@ -200,6 +200,8 @@ const CourseClient = (props: any) => {
|
||||||
)}
|
)}
|
||||||
className="w-full h-full bg-black rounded-lg"
|
className="w-full h-full bg-black rounded-lg"
|
||||||
controls
|
controls
|
||||||
|
autoPlay
|
||||||
|
muted
|
||||||
preload="metadata"
|
preload="metadata"
|
||||||
playsInline
|
playsInline
|
||||||
/>
|
/>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue