Forum Home
Press F1
 
Thread ID: 108344 2010-03-24 21:12:00 How to prevent embedded videos from auto start? mzee (3324) Press F1
Post ID Timestamp Content User
869743 2010-03-24 21:12:00 If I embed a video from a file on my web site, in a web page it starts as soon as the page is opened which slows down the loading of the page. How can I stop this?

If I embed a video on line from U tube, it waits for you to start it.
mzee (3324)
869744 2010-03-24 23:07:00 what type of file/player is it?

for example, a windows media player one would have something like

<PARAM NAME="AutoStart" VALUE="False">

in the embeded code to have it not play
bevy121 (117)
869745 2010-03-25 08:12:00 Found the answer:-

<OBJECT ID="MediaPlayer" WIDTH="192" HEIGHT="190" CLASSID="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95"
STANDBY="Loading Windows Media Player components..." TYPE="application/x-oleobject">
<PARAM NAME="FileName" VALUE="videofilename.wmv">
<PARAM name="autostart" VALUE="false">
<PARAM name="ShowControls" VALUE="true">
<param name="ShowStatusBar" value="false">
<PARAM name="ShowDisplay" VALUE="false">
<EMBED TYPE="application/x-mplayer2" SRC="videofilename.wmv" NAME="MediaPlayer"
WIDTH="192" HEIGHT="190" ShowControls="1" ShowStatusBar="0" ShowDisplay="0" autostart="0"> </EMBED>
</OBJECT>

Suits all occasions.
mzee (3324)
869746 2010-03-25 08:15:00 You do have to specify this, as the default is false on Internet Explorer, but true in every other browser. (Or is it the other way round?) pcuser42 (130)
869747 2010-03-25 22:30:00 glad you found the answer :rolleyes:

Isnt that what I said?
bevy121 (117)
869748 2010-03-26 02:50:00 glad you found the answer :rolleyes:

Isnt that what I said?

Not the first time it's happened ;)
pcuser42 (130)
1