The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

Reply to this topicStart new topic
> How To Embed .avi In HTML Webpage?, Have tried many codes but only get sound
post Mar 18 2012, 02:43 PM
Post #1

Group: Members
Posts: 1
Joined: 18-March 12
Member No.: 16,737

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..

This post has been edited by MiguidedHeart: Mar 18 2012, 03:17 PM
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post Mar 20 2012, 05:12 PM
Post #2


Group: WDG Moderators
Posts: 6,864
Joined: 10-August 06
Member No.: 7

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.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
post Mar 21 2012, 02:41 PM
Post #3

This is My Life

Group: Members
Posts: 1,122
Joined: 24-August 06
From: t-dot
Member No.: 16

It's more likely not the code but the codec that your file is using that is the issue with viewing it.

User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:


- Lo-Fi Version Time is now: 1st December 2015 - 06:44 PM