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
36 views
How can we embed Video in HTML 5?
posted Sep 9, 2015 by Sathyasree

Share this question
Facebook Share Button Twitter Share Button Google+ Share Button LinkedIn Share Button Multiple Social 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.
</video>
answer Sep 10, 2015 by Shivaranjini
0 votes

To show a video in HTML, use the element:

Example:

<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.
</video>
answer Sep 17, 2015 by Vrije Mani Upadhyay
Contact Us
+91 9880187415
sales@queryhome.net
support@queryhome.net
#280, 3rd floor, 5th Main
6th Sector, HSR Layout
Bangalore-560102
Karnataka INDIA.
QUERY HOME
...