Thursday, 12 September 2013

Prevent video from pre-loading on website

Prevent video from pre-loading on website

I have the following code for a video on my website. I have the AutoPlay
turned off in order to prevent playback as soon as I open the website. The
problem is that the video still loads automatically and this hurts the
bandwidth of some visitors. What can I do to prevent the video from
loading until the user decides to play it?
<object width="530" height="405" scale="to fit" hspace="10" border="5">
<param name="VideoTitle" value="/urlpath/movie.m4v" />
<param name="AutoStart" value="False" />
<param name="ShowControls" value="True" />
<param name="ShowStatusBar" value="True" />
<param name="ShowDiplay" value="True" />
<param name="AutoRewind" value="True" />
<embed width="530" height="405" scale="tofit" hspace="0" filename=
"/urlpath/movie.m4v"
autostart="False" showcontrols="True" showstatusbar="True"
showdiplay="True"
autorewind="True" border="1" src="/urlpath/movie.m4v"></embed>
</object>
Thanks in advance.

No comments:

Post a Comment