Saturday, October 11, 2008

How to upload videos on to web site?

You tube is very help ful at this instatnt where you can upload your videos which you are willing to propose in your site.
You tube provides shock wave video player which is available at specific url.
When you upload you video in You tube it gives you the url of the video which you have uploaded and can access with that url (You can observe video at right hand side beside your video in you tube site).


For example i have created a sample html page which uses that you tube video url and displays in my web site.
Ex :-

My favourite video




Code:-
<html>
<head>
</head>
<body>
My favourite Video


<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/bOOMPj9zudE&hl=en&fs=1"></param><param name="allowFullScreen" value="true"></param><embed

src="http://www.youtube.com/v/bOOMPj9zudE&hl=en&fs=1" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="344"></embed></object>
</body>
</html>

No comments: