0
How to put video in html
Please show me an example
2 ответов
+ 4
You should search here and the code playground.
https://sololearn.com/compiler-playground/Wftv1PfkK3iD/?ref=app
https://sololearn.com/compiler-playground/WoJIWGKPvued/?ref=app
https://sololearn.com/compiler-playground/W3LUjWOs97bC/?ref=app
https://sololearn.com/compiler-playground/W3uiji9X28C1/?ref=app
https://sololearn.com/compiler-playground/W0uW3Wks8UBk/?ref=app
+ 1
With the video tag and the source tag inside of the video tag. The attributes src and type for the link of video and the type of video (mp4, ogg,…). other attributes like controls, muted, loop, autoplay for the control of the lecture video.
Exemple :
<video>
<source src="videofile.mp4" type="type/mp4" controls>
<video>