FRIHOSTFORUMSFAQTOSBLOGSDIRECTORY
You are invited to Log in or Register a Frihost Account!

Play video in html

 


Lloydie_gb
How do i add a video( Windows Media Player etc) to a website?

What is the html script? / Where can i get it from?

Many Thanks
TheGeek
i believe it would be like

<imbed your_movie_link_here_with_the_appropriate_ending_like_.avi_.mpg_ect.>

i could be wrong though, check out www.w3schools.com if it doesnt work.
Naif
Quite easy. You have to use the <embed> tag. Here is an example of its use

<embed src="c:/your_movie.avi" loop=true autostart=true height=height_of_your_movie width=width_of_the_movie></embed>

Substitute values for the height and width attributes. If the loop attribute is set to true, the movie will loop forever. If autostart is set to true, the movie will start automatically after its finished downloaded where as if its set to false, the viewer has to play it manually by selecting the play button.

There are some more optional attributes to the <embed> tag like align etc.
rvec
i have the same on my old site. But is there also a way to let 2 video's play after eachother? So I can place 2 video's and let one start and if it is finiched the 2nd will start
Lloydie_gb
Thanks Naif. Very Happy


It was easya than i thought it would be.
bananaphone
Naif wrote:
Quite easy. You have to use the <embed> tag. Here is an example of its use

<embed src="c:/your_movie.avi" loop=true autostart=true height=height_of_your_movie width=width_of_the_movie></embed>

Substitute values for the height and width attributes. If the loop attribute is set to true, the movie will loop forever. If autostart is set to true, the movie will start automatically after its finished downloaded where as if its set to false, the viewer has to play it manually by selecting the play button.

There are some more optional attributes to the <embed> tag like align etc.

this works well - just make sure you use a well know format live avi, dvix etc. not some strange random format that browsers can't support.
Reply to topic    Frihost Forum Index -> Computers -> Computer Problems and Support

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2007 Frihost, forums powered by phpBB.