top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration Why to Join

Facebook Login
Site Registration

How can we embed Video in HTML 5?

+5 votes
How can we embed Video in HTML 5?
posted Sep 9, 2015 by Sathyasree

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

2 Answers

0 votes

The same as for audio, HTML 5 defines a standard way to embed video files. Supported video formats are MP4, WebM and Ogg.

<video width="450" height="340" controls>
  <source src="jamshed.mp4" type="video/mp4">
   Your browser does'nt support video embedding feature.
answer Sep 10, 2015 by Shivaranjini
0 votes

To show a video in HTML, use the element:


<video width="320" height="240" controls>
  <source src="movie.mp4" type="video/mp4">
  <source src="movie.ogg" type="video/ogg">
Your browser does not support the video tag.
answer Sep 17, 2015 by Vrije Mani Upadhyay
Contact Us
+91 9880187415
#280, 3rd floor, 5th Main
6th Sector, HSR Layout
Karnataka INDIA.