Help - Search - Members - Calendar
Full Version: How To Embed .avi In HTML Webpage?
HTMLHelp Forums > Web Authoring > Graphics, Flash and Multimedia
First off I'm using Internet Explorer and only need it to show in IE dont care for firefox etc.

I placed the code and have tried many different codes other then this one that I found over the net..
But this one works out the best but with this and every other code I have tried I only get sound and no video..

Is there some kind of plugin needed so both I and My users who come to the page can see it and not just hear it?

Here is the code I'm working with..

style="position:absolute; left:19;top:19;width:480px; height:360px"

<PARAM NAME="URL" VALUE="myvideourl.avi" ref>
<PARAM NAME="AutoStart" VALUE="-1">
<PARAM name="uiMode" value="mini">
<PARAM name="PlayCount" value="1">
<param name="rate" value="1">
<param name="balance" value="0">
<param name="currentPosition" value="0">
<param name="defaultFrame" value>
<param name="currentMarker" value="0">
<param name="invokeURLs" value="-1">
<param name="baseURL" value>
<param name="volume" value="80">
<param name="mute" value="0">
<param name="stretchToFit" value="1">
<param name="windowlessVideo" value="0">
<param name="enabled" value="-1">
<param name="enableContextMenu" value="-1">
<param name="fullScreen" value="0">
<param name="SAMIStyle" value>
<param name="SAMILang" value>
<param name="SAMIFilename" value>
<param name="captioningID" value>
<param name="enableErrorDialogs" value="0">

Also working with this code which also gives sound but no video..

<object id="MediaPlayer1" CLASSID="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" codebase=",1,52,701"
standby="Loading Microsoft Windows® Media Player components..." type="application/x-oleobject" width="280" height="256">
<param name="fileName" value="myvideourl.avi">
<param name="animationatStart" value="true">
<param name="transparentatStart" value="true">
<param name="autoStart" value="true">
<param name="showControls" value="true">
<param name="Volume" value="-300">
<embed type="application/x-mplayer2" pluginspage="" src="myvideourl.avi" name="MediaPlayer1" width=280 height=256 autostart=1 showcontrols=1 volume=-300>

And this one too.. Which I can tell by the ending of the code might only work for flash vids..?

<object width="425px" height="360px" >
<param name="allowFullScreen" value="true"/>
<param name="wmode" value="transparent"/>
<param name="movie" value="myvideourl.avi">
<embed src="myvideourl.avi" width="425" height="360" allowFullScreen="true" type="application/x-shockwave-flash" wmode="transparent"/>

And also tried just the usual <embed src="myvideourl.avi" height="200" width="200"/>

So any help is much apreciated!!!

P.S. How do you change display names on this board? I've searched everywhere I can think of on here..
My name is supposed to be MisguidedHeart not MiguidedHeart... Darn typos...

P.P.S. If there is NO way to fix this problem which I hope there is? Can I just get the video to open up in their media player?
I've tried the usual link code a href but just brings me to a cannot be displayed page..
Christian J
QUOTE(MiguidedHeart @ Mar 18 2012, 08:43 PM) *

I've tried the usual link code a href but just brings me to a cannot be displayed page..

That's probably due to the browser settings, see

If all else fails, suggest to your visitors that they save the file (e.g. by right-clicking) and then open it in a multimedia viewer program.

Another option might be to convert it to a more widely supported file format.
It's more likely not the code but the codec that your file is using that is the issue with viewing it.

This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2018 Invision Power Services, Inc.