user226817 February 2016

how do we play video in browser through html5?

I want to play my video in browser through HTML5.

  • Which tag I can use?

  • How can I do this?

  • Can I play all types of videos?

Can I get some examples?

Answers


raghu February 2016

<video width="400" controls><source src="locationofvideo" type="video/mp4"></video>

at width give the width of the video, src=location of the source video you would like to play

Post Status

Asked in February 2016
Viewed 2,932 times
Voted 9
Answered 1 times

Search




Leave an answer