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 |
How do you measure the success of a UI/UX design?
What are the New Media Elements in HTML5? is canvas element used in HTML5
What are the three types of websites?
Tell Me About SEO SMO
What are common UX design challenges, and how do you overcome them?
How many New Markup Elements you know in HTML5
What is the significant sign that your site isn’t responsive or having issues?
Mention the main platform or language that is used for website designing?
How do I align pictures so that one may be higher or lower than the other?
Why do we need web application?
What is difference between web application and windows application?
What is a prompt box?