FRIHOST • FORUMS • SEARCH • FAQ • TOS • BLOGS • COMPETITIONS
You are invited to Log in or Register a free 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.
Related topics
Video Games any one?
Why do you play computer games? Are you addicted?
How to Make A PHP Portal.
Pluto is no longer a planet
Combo 52x Drive cannot read non-video DVDs
Video Games
i want to play video from my site
YouTube recommendations
Why did God create humans?
How to download and convert yahoo video?
AYUDA - ¿Cómo descargo un streaming de video?
How do I shop for Dual head/Dual Monitor video cards
PC will not play video on card or on onboard graphics
Video Games are bad!
Reply to topic    Frihost Forum Index -> Computers -> Computer Problems and Support

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