Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

embed a video

Status
Not open for further replies.

scrawny

Technical User
Apr 15, 2003
23
US
How do I embed a video in GoLive?
Link to a page? link directly to the movie?
use actions?
make a button image and then use link?
I've tried everything. got it all screwed up now.
 
The easiest way is to figure out where on your page you want to video to be. Enter a few characters at that location and highlight them. Switch to source mode. You'll see the above characters highlighted here too. Delete them and paste the following code there:

Code:
<OBJECT ID="MediaPlayer" height="350" width="400" 
  CLASSID="CLSID:22D6f312-B0F6-11D0-94AB-0080C74C7E95" 
  STANDBY="Loading Windows Media Player components..." 
  TYPE="application/x-oleobject" 
CODEBASE="[URL unfurl="true"]http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,7,1112">[/URL]
<PARAM name="autoStart" value="True"> 
<PARAM name="filename" value="myvideo.wmv"> 
<EMBED TYPE="application/x-mplayer2" 
    SRC="myvideo.wmv" 
    NAME="MediaPlayer" 
    WIDTH=400 
    HEIGHT=350> 
</EMBED> 
</OBJECT>
Then in the code above change myvideo.wmv to be the path and filename of your media file. It is in 2 places and must be changed in both. Also change the height and width to the height and width needed to show your video (also changed in 2 places). Remember that the size needs to include the video and the control panel area of the player.
 
Thank you so much. Would you mind looking at my page and seeing what I've already done here? The problem is that the videos as they are play in IE and Netscape okay but in Mozilla and I think in AOL and I don't know what else, they look like postage stamps, or play only audio, and other wacky things.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top