Hi,
Please let me know how to put videos to my website?
I have a simple DHTML website with some javascript & css.
Can you guys please let me know the basics of putting the videos to my website?
Hi,
Please let me know how to put videos to my website?
I have a simple DHTML website with some javascript & css.
Can you guys please let me know the basics of putting the videos to my website?
Hi,
first you can also have a look at this existing topic http://forums.techarena.in/technolog...et/1070323.htm
Can you tell us what is the format of your videos?
See when you say that you want to learn putting videos to your website then you must know the very important things to remember first.
If the size of your videos is large it definitely takes time to upload than the videos with small size. The .mpg & .avi video files are large sized video files as compared to .flv format videos.
FLV is Flash Video which is mainly used to deliver video over the internet via adobe flash player. The FLV filesa are again supported by all the leading web browsers too.
You need to choose a good flash player such as JW FLV Player
Uploading the Video
First you must save your video to your web server like www.sitename/video1.flv
Now You must use both the new & old embed tags since some browser may or may not play the videos.
Use Object tag for this:
Code:<object width="420" height="360" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab"> <param name="src" value="movie1.flv" /> <param name="controller" value="true" /> <param name="autoplay" value="false" /> <!-- Code For Older Browsers --> <embed src="movie.mpeg" width="420" height="360" autoplay="true" controller="true" pluginspage="http://www.apple.com/quicktime/download/"> </embed> </object>
Well said Imtiyaz,
Note that The only <embed> tag is not allowed therefor using <object type="MIME/Content type" src ="Path/video1.flv"> tag is correct way to put video to your website.
The advantage behind this is that it provides compatibility to future browsers & if the first tag is not read then it reads its child tag i.e. <embed> tag.
I hope this explains for more details follow some guides & tutorials available on W3schools & other leading sites.
Bookmarks