How to add video and audio in HTML5?



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

Post New Answer

More Web Design Interview Questions

What is a web application definition?

0 Answers  


What is work Area in photoshop?

1 Answers  


Which one is best wcf or web api?

0 Answers  


Is google a web application?

0 Answers  


Explain about a time the scope of a project changed midway through. How did you respond?

0 Answers  






What are the New Media Elements in HTML5? is canvas element used in HTML5

0 Answers  


Is CSS case sensitive?

2 Answers  


How does a web application work?

0 Answers  


Why do we need web application?

0 Answers  


What is web application with example?

0 Answers  


Is instagram a web application?

0 Answers  


What are the confinements when serving xhtml pages?

0 Answers  


Categories