Click to See Complete Forum and Search --> : embedded Video File


What'shappenin
03-30-2006, 04:39 PM
Hello fellow web people,

I am just writing to ask how to have an embedded video file directly on a web page. I can link video's to other pages and have them pop up and play, however i am looking to an easy and simple way to activate movies. My format is in dreamweaver, and i am having a hard time working past some of their more complicated instructions... so any assistance would be greatly appriciated.

Thankyou for your help,

What's Happenin :)

TiGGi
03-30-2006, 05:27 PM
do you have flash available to you?

What'shappenin
03-31-2006, 10:18 AM
yes, on one system...and no on another system

TiGGi
03-31-2006, 11:20 AM
You can import your movie into the flash and use flash inerface for it.
Here's example: http://www.regencyhomes.com/mda/MDA_Movie.html

johneva
03-31-2006, 11:34 AM
If you dont want to use Flash you can add videos to your page with this code assuming it is a WMV file if not you will have to just change a few of the attributes and params.


<!--[if !IE]> <-->
<object id='mediaPlayer' data="Video/yourvideo.wmv" standby='Loading Microsoft Windows Media Player components...' type='type="video/x-ms-wmv"'>
<param name='fileName' value="http://www.yourdomain.com/Video/yourvideo.wmv" />
<param name='animationatStart' value='true' />
<param name='transparentatStart' value='true' />
<param name='autoStart' value="true" />
<param name='showControls' value="true" />
<param name="loop" value="true" />
<param name="PlayCount" value="*" />
</object>
<!--> <![endif]-->
<!--[if IE]>
<object id='mediaPlayer' data="Video/yourvideo.wmv" classid='clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95' codebase='http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701' standby='Loading Microsoft Windows Media Player components...' type='application/x-oleobject'>
<param name='fileName' value="http://www.yourdomain.com/Video/your video.wmv" />
<param name='animationatStart' value='true' />
<param name='transparentatStart' value='true' />
<param name='autoStart' value="true" />
<param name='showControls' value="true" />
<param name="loop" value="true" />
<param name="PlayCount" value="*" />
</object>
<![endif]-->


There is an easyer way to do it by just using the embed tag but that is not a valid way to do it anymore. This way is valid and works on all browsers.

It will display using the Windows Media player on the web page like here.
Link (http://www.johneva.playingwithpsp.com)