Discussion Locked

Movie in html

0 helpful
7 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Is it possible to insert a movie in HTML?
How do I do it?

7 replies

by carquiza

Hi,

The best way to insert movies in HTML is by other software plug-ins or add-on one of the best that I have seen is FLASH.....but if your really
intersted on 3d stuff.

HTTP://WWW.SWIFT3D.COM

Hope this web site help you a lot.

Cheers,

Mel Arquiza
Home Page Design
http:/hpd.welcome.to

by shanghai sam

Use the EMBED tag - I'll deliberately leave the tag symbols (<>) off in this answer because I don't know if this web page will try to interpret them or not. Anyway, an example would be...

BODY

EMBED SRC="MovieName.avi" WIDTH=85 HEIGHT=120 AUTOSTART=true ALIGN=right

/BODY

What you're doing here is creating a dimensioned space in which your browser's media player plugin will apppear and execute. The .avi extension in this example can be any other video format extension youneed, eg mpeg, mov, etc - depends on the type of file you're using. You can also use the EMBED tag to show Shockwave movies.

The AUTOSTART attribute was used because sometimes the player's controls may not be visible, so starting the video automatically can be useful. If the controls are not visible, you may have to adjust the WIDTH and/or HEIGHT values.

ALIGN=direction is self-explanatory.

There is also a LOOP=true tag for playing the movie repeatedly.

All this should work in both IE and Netscape browsers.

For IE only, you can enter LOOP=n, where n is the number of repeats you want the movie played - or use LOOP=-1 or LOOP=infinite to play continuously.

Hope this helps.

This discussion is closed to new replies.