Help me imbed an .avi file into my website!

Please?

Basically, I have a plainish, but functional website. I have a nifty .avi file that I would like to imbed - basically, a person opens the page and the .avi starts playing.

I recognize that I may need to convert the .avi to a .gif or something - if this is the case, suggestions on how to do that would be appreciated as well.

I’m using the good old standard, Front Page to develop this beastie.

So - does anyone have any ideas?

:slight_smile:

You can leave it as an .AVI file. Use the <embed> tag to place it. The syntax is <embed src=“http://www.yourwebsite.com/avifilelocation”>. More parameters listed here.

<embed> is a Netscape proprietary element. IE won’t touch it.

You need an <object> element with the proper attributes and possibly some <param> elements within it. Then you place your <embed> tags in the <object> as well. IE will ignore the embed, and Netscape will ignore the <object>, so it all works.

Look at any Flash site’s code to see how it’s done.

You can also put it in as a link - click me to hear music/etc. e.g.:
<a href=“youravifile.avi”>click me to hear mucis/etc.</a>

Otherwise, I put a pox on all sites that automatically assault visitors with noise.

Holy Crap! It worked.

Feel free to check it out here:

http://www.ucalgary.ca/smrg/rodger.htm

Ugh. That’s truly awful, sorry. It takes for-freaking-ever to load up (dialup 56k). I’d go with gotpasswords’ suggestion and make a link to click to show the movie, instead of loading it automatically. You can take a representative frame from the AVI, convert it to GIF, and use that image as a link to the full AVI file. Otherwise, my PC goes nuts starting Windows Media Player, loading CODECs and downloading the AVI. I, too, detest sites which load up large amounts of unnecessary media when all I want to do is read the content.

Bah!

It’s probably going to stay as is, for now. Generally people checking it out will be at Universities, and hopefully will have a faster connection - around these parts it takes mere moments for it to load…

<embed> is a Netscape proprietary element. IE won’t touch it.

Wanna bet?

I’ve never had a problem with IE reading embed tags and I just created a page for testing purposes with IE 6 and it played like a champ.

Veddy Eenteresting, and I find by running it throught the test suites that IE’s support of the standard <object> element is rather sporadic.

Here’s Microsoft’s take on the subject