If this tutorial is not what you were looking for, you still have any questions, suggestions or concerns - feel free to let us know. Please help us to serve you better!

Your Name

Your Email

Your Message (required)

captcha

How to embed video into HTML page

This tutorial will show you how to embed a video into your HTML page.

 

Using <embed> tag

You can embed the video file into your HTML page using the <embed> tag. Upload the video file to the server and add the following code to your HTML page:

<embed  src="video.avi" /> 

Where video.avi  is your video file name. It can be also replaced with the root to your video file like:

 <embed  src="/files/videos/video.avi" /> 

 

Using the <object> tag

You can embed the video file into your HTML page using the <embed> tag. Upload the video file to the server and add the following code to your HTML page:

<object  data="video.avi" type="video/avi" />

Where video.avi  is your video file name. It can be also replaced with the root to your video file like:

<object  data="="/files/videos/video.avi" type="video/avi"  />

Note: Both above methods require the installation of the plug-in that will allow to play video through the browser.

 

Using the video services

You can also use some video services like YouTube to upload the videos and embed them to your website page. You can use the Embed options offered by the video service you use and then paste the code to your page. For the YouTube service the code would be something like this:

 <iframe  width="425" height="349" src="video_URL "  frameborder="0" allowfullscreen></iframe>
How to embed video into HTML page, 1.0 out of 5 based on 1 rating