I have a site that I am working on for my company. When the site first opens, a small video with our company mission and views opens and plays. Below that video is a graphic that, once clicked, opens the same video (a higher res file) in a larger window. The problem arrises in that both videos are now playing and so you hear the audio twice. Is there an onclick command I am unaware of that will stop the one video when that link is clicked? Here is the embed object code:
and here is the code for the link to the new video:
I searched and searched and either don't know the correct search terms, or I just can't figure it out. I've seen other sites that make their own controls and I'm assuming it's just a dirivitive of that. Thanks in advance!
Dan
Code:
<object classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,0,02,902" type="application/x-oleobject" width=136 height=118 align="absmiddle" standby="Loading Microsoft Windows Media Player components..." id="MediaPlayer">
<param name="FileName" value="video/cicrmovie_sm.wmv">
<param name="animationatStart" value="true">
<param name="transparentatStart" value="true">
<param name="autoStart" value="true">
<param name="showControls" value="true">
<embed src="video/cicrmovie_sm.wmv" width=135 height=118 autostart=false align="absmiddle" type="application/x-mplayer" pluginspage ="http://www.microsoft.com/Windows/MediaPlayer/"> </embed>
</object>
and here is the code for the link to the new video:
Code:
<div align="center">[url="./video/cicrmovie.html"][img]images/click_here.gif[/img][/url]</div>
I searched and searched and either don't know the correct search terms, or I just can't figure it out. I've seen other sites that make their own controls and I'm assuming it's just a dirivitive of that. Thanks in advance!
Dan