Web Hosting Talk







View Full Version : Embeded Video


a1nerd
07-14-2006, 05:26 AM
How do i make this to where the video doesnt play everytime you load the browser. I would like to make it to where you have to click on the play button to maker it play.


<center><param name="url" value="http://musicplustv.com/stream/mplus.asx" /><param name="uiMode" value="mini" /><param name="autoStart" value="true" /><param name="stretchToFit" value="true" /><param name="volume" value="100" /><param name="enableContextMenu" value="true" /><embed type="video/x-ms-asf" pluginspage="http://www.microsoft.com/Windows/MediaPlayer/" src="http://musicplustv.com/stream/mplus.asx" name="MediaPlayer" width="330" height="289" autostart="1" stretchtofit="true" /></div><a href="http://musicplustv.com" style="display: block; width: 350px; height: 40px; text-decoration: none; position: absolute; bottom: 0px; left: 0px;" title="Visit MusicPlusTV.com"> </a></center></div></a></div>

Jatinder
07-14-2006, 07:00 AM
You need to set the value of autostart parameter to false.

<param name="autoStart" value="true" />

Also change autostart="1" in the embed tag to autostart="false"

a1nerd
07-14-2006, 03:44 PM
So in total there is two tags i need to change? So i change this one also autostart="1" stretchtofit="true" / if so what do i add in there?


You need to set the value of autostart parameter to false.

<param name="autoStart" value="true" />

Also change autostart="1" in the embed tag to autostart="false"

azizny
07-14-2006, 05:14 PM
You would use this, keep in mind that in firefox it would start by itself no matter what, only works in IE:



<center><param name="url" value="http://musicplustv.com/stream/mplus.asx" /><param name="uiMode" value="mini" /><param name="autoStart" value="false" /><param name="stretchToFit" value="true" /><param name="volume" value="100" /><param name="enableContextMenu" value="true" /><embed type="video/x-ms-asf" pluginspage="http://www.microsoft.com/Windows/MediaPlayer/" src="http://musicplustv.com/stream/mplus.asx" name="MediaPlayer" width="330" height="289" autostart="false" stretchtofit="true" /></div><a href="http://musicplustv.com" style="display: block; width: 350px; height: 40px; text-decoration: none; position: absolute; bottom: 0px; left: 0px;" title="Visit MusicPlusTV.com"> </a></center></div></a></div>



Peace,

Albert_chu
07-17-2006, 11:18 PM
<param name="autoStart" value="false" />

that would be the way to go

Loop21
07-18-2006, 04:58 AM
Hi,
you also could do a flash thing with fancy buttons and all.