How to add video and audio in HTML5?
Answer / ramya gurrala
we can add audio and video using <audio>,<video> tags.
<audio controls>
<source src="Amma Amma -MP3songssp.com.mp3" type="audio/mpeg'/>
</audio>
we will control attribute because it will have play,stop and volume.
where as in the source,we will add the path of our source file.
In type we will add the type pf file like mp3,mp4,mpeg etc..
Similarly we will add the video file
<video controls>
<source src="waiting for tonight -youtube.com" type="video/MP4/"
</video>
| Is This Answer Correct ? | 1 Yes | 0 No |
What is the difference between responsive design and adaptive design?
What is work Area in photoshop?
What are the five possible values for “position”?
What is the difference between micro-interactions and animations?
What are the benefits of web application?
What is gradient?
How to apply gradient?
. How do you prioritize features and design elements in a project?
Explain what is the difference between “visibility:hidden” and “display:none”?
What is called web application?
Can you walk us through a recent project you worked on?
What is a web application definition?