Jump to content


This topic is now archived and is closed to further replies.


How to have audio/video not auto download on a page?

Recommended Posts

Hey all.  I made a site and used the basic embed tags to include some audio with it not auto playing and the user having to press play for it to play.  Now I would also like it so that the user does not automatically have to download the file everytime he visits the index page to save on their load times.  And I don't want a separate link for the audio.  I want it on the main page but downloaded and played when user presses play.

What is the possible way to do this?  Is this set automatically by autostart=false?


Share this post

Link to post
Share on other sites

I think the most sesnible option to achieve what you want is to open a pop-up window with just the media file....

Share this post

Link to post
Share on other sites
Here is some HTML code I have. You can see it in action at [url=http://philip.calvarybucyrus.org/funny_page.htm]http://philip.calvarybucyrus.org/funny_page.htm[/url].
For me, it doesn't start downloading the clip until 'play' is clicked.

[code]<OBJECT id='mediaPlayer' width='450' height='375' classid='CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95' codebase='http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701' standby='Loading Video Components. Please Wait...' type='application/x-oleobject'>
<param name='fileName' value='http://philiplance.is-a-geek.com/funnystuff/funny-vidoes-Darth-Vader.wmv'>
<param name='animationatStart' value='true'>
<param name='transparentatStart' value='true'>
<param name='autoStart' value='false'>
<param name='showControls' value='true'>
<param name='loop' value='false'>
<EMBED type='application/x-mplayer2'
id='mediaPlayer' name='mediaPlayer' displaysize='4' autosize='-1'
(The page seems to load 177KB when the HTML size is negligible - so maybe it starts to download the video a little bit - I don't know.)

Share this post

Link to post
Share on other sites


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.