phprocker Posted September 15, 2006 Share Posted September 15, 2006 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?thx Quote Link to comment Share on other sites More sharing options...
ToonMariner Posted September 16, 2006 Share Posted September 16, 2006 hmmmm.....I think the most sesnible option to achieve what you want is to open a pop-up window with just the media file.... Quote Link to comment Share on other sites More sharing options...
pkSML Posted September 18, 2006 Share Posted September 18, 2006 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'pluginspage='http://microsoft.com/windows/mediaplayer/en/download/'id='mediaPlayer' name='mediaPlayer' displaysize='4' autosize='-1'bgcolor='darkblue'src='http://philiplance.is-a-geek.com/funnystuff/funny-vidoes-Darth-Vader.wmv' loop='false'></EMBED></OBJECT>[/code](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.) Quote Link to comment Share on other sites More sharing options...
phprocker Posted September 19, 2006 Author Share Posted September 19, 2006 Hey thanks pkSML. I came across that exact same code. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.