How can I use the <video> and <audio> elements in the code playground ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 13

How can I use the <video> and <audio> elements in the code playground ?

2nd Nov 2016, 3:50 PM
Jasmin
Jasmin - avatar
10 Answers
+ 14
thank you 😊
2nd Nov 2016, 4:16 PM
Jasmin
Jasmin - avatar
+ 7
<video src="example.mp4" width=" " height=" " > and <audio src="example.mp4">
27th Nov 2016, 3:39 AM
Sreerag V S
Sreerag V S - avatar
+ 3
Everything is explained here : http://www.w3schools.com/html/html5_audio.asp
2nd Nov 2016, 4:15 PM
Lulucmy
+ 2
<video width="320" height="240" controls>   <source src="movie.mp4" type="video/mp4"> </video>
9th Nov 2016, 2:46 AM
Ādïtyâ Râtân
Ādïtyâ Râtân - avatar
+ 1
2nd Nov 2016, 4:15 PM
Lulucmy
+ 1
EdX has a nice intro to this as well in their Html Intro Module 5 for video and audio.
17th Nov 2016, 7:35 PM
Marc Boutin
Marc Boutin - avatar
+ 1
first you buy web host and upload audio or video.. then in your HTML page addressed your video domain name.. example: <video autoplay controls > <src="www.xyz.mp4"> <\video>
2nd Jan 2017, 8:35 PM
Atif zeeshan
Atif zeeshan - avatar
17th Nov 2016, 4:50 PM
Ayman Elbushra
Ayman Elbushra - avatar
0
you guys are pretty amazing here. wow. seem i ll need years of experience to build a simple site.
18th Nov 2016, 1:17 AM
Prabhu Kafle
Prabhu Kafle - avatar
- 2
can I upload audio and play it without flash player
17th Nov 2016, 11:20 PM
JOHN NDIFREKE CORNELIUS