A basic understanding of how HTML coding works can help you understand how to put a video clip on your website or blog. The HTML code is used to tell your website which video it should display, what kinds of controls it should make available and how large the screen on which the clip will play should be. The controls also can tell the page if it is allowed to open to a full screen.
Instructions
- 1Log in to your web server and navigate to the page onto which you want to place a video clip.
- 2Click on the section of the page into which you want to insert the video clip.
- 3Insert the following line of HTML coding:<object width="425" height="344">You can change the numbers to suit your own height and width needs. The numbers represent pixels.
- 4Insert the next line of code, which should look like this:<param name="movie" value="http://www.video.com/videoiwanttodisplay">Replace "http://www.video.com/videoiwanttodisplay" with the actual address of the video clip you want to show.
- 5Insert:</param><param name="allowFullScreen" value="true">
</param><param name="allowscriptaccess" value="always">You may change "true" to "false" if you do not want the user to click a button to make the video take up the full screen. - 6Finish the code by including the following:</param><embed src=http://www.video.com/videoiwanttodisplay"
type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344">
</embed></object>If you have changed any of the full screen, height and width or URL parameters in previous steps, make sure the changes are made in the appropriate locations in the code here as well. - 7Check your final code. Its format should look exactly like this:<object width="425" height="344">
<param name="movie" value="http://www.video.com/videoiwanttodisplay">
</param><param name="allowFullScreen" value="true">
</param><param name="allowscriptaccess" value="always">
</param><embed src=http://www.video.com/videoiwanttodisplay
type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344">
</embed></object> - 8Publish the page using your web server's publishing tools. You now have put a video clip in a website.
- 1
No comments:
Post a Comment