How to Add Video to Web Page in Notepad is very easy. There is so many HTML Editor you can use in writing HTML codes. Notepad is a common HTML editor, though it can be used in writing other programming languages but our main focus now is HTML.
One of the methods you can use to add video to your Web page is to give a link to a video you must have stored on YouTube. As we know that YouTube offers free video hosting.
Almost every video on YouTube includes a box with the code you paste into your Web page in order to play the video there. This code is customized for playback in Flash, a specialized media playback tool:
<object width="425" height="344"><param name="movie" value=" newbielink:http://www.yout [nonactive]*ube.com/v/HhcLUF59Oh4&hl=en&fs=1"></param>Remove "*" asterisks from the above code. Flash was originally used mostly for animations but is increasingly used as a container for video and audio.
<param name="allowFullScreen" value="true"></param>
<embed src=" newbielink:http://www.you [nonactive]*tube.com/v/HhcLUF59Oh4&hl=en&fs=1" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="344"></embed></object>
In order to add video to your Web page in Notepad, Simply Open your Web page with Notepad and follow the steps below:
1. Specify the path and filename of the video you want to use.
If you hosted video somewhere other than
YouTube, type in the following, using the actual path and filename:
But if you hosted your on YouTube, quickly go to the YouTube page of which video you would want to add to your Web page and copy the code for the video from there. Paste it into your Web page.
If the video is in the same folder as your Web page, the pathname is just the filename; if the video is on the Web, the pathname should be the URL of the video.
However, If the file is in a different folder on your machine than the Web page, include the path to the video.
2. Specify the size of the video using the <object> tag:
It should look like this:
<object width=“xxx” height= “yyy”>
tag tells the user’s Web browser that there is something in the Web page, at this spot, of the size you specify. The width and height are just for changing the video size. It is a way to make sure that the Web browser sets aside space for the video when it first displays the Web page.
3. Save the file and open it in a Web browser. Try the video.
In case you encounter problems, you can easily just copy the Video link and paste it on your Web page like every normal link. Visitors can click through to watch the video and return when they are done.