* - Hello Web Design students!- 16 Nov 07
This webpage is an exercise in adding video's to a webpage. Over the past few days I did some research on the net and in webdesign books to find out exactly how to add video's into webpage. So this is what I found out; this 1.44 minute clip explains a little ...my daughter Oonagh did 5 takes to get this clip right, so thanks to her for her co-operation!
To add a videofile to a webpage you need 5 things:
- The right HTML tag with its attributes
- The video in a suitable format .mpg is the best
- A video camera or picture camera with video facilty or a mobile phone with video camera.
- A program which lets you convert the original video file into a .mpg
- A suitable 'plug-in' for your browser to view the video
-
<embed> </embed>
-
<object> </object>
-
1. HTML tag in this case the <embed> tag:
- <embed> </embed>
- Now we add the attributes:
-
src= URL (source file location; usually in a video folder)
- width="320"
- height="360"
-
- anything smaller then that size was not showing the controls
- loop="false" - if you want the video to stop after playing -
- loop="true" - if you want the video to keep playing -
- controls="true"
-
- this adds the play/stop/pause buttons to control the video
- autostart="false"
- - lets the viewer start the video if she/he so wishes
Back to the top ©Copyright Martine Moeykens - 2004 - 2007