Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6836217
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T23:19:47+00:00 2026-05-26T23:19:47+00:00

I want to preload audio files in my website. I am using the following

  • 0

I want to preload audio files in my website. I am using the following code in html page.

<embed src="cheer.swf" hidden="true" autostart=false style="height:0px; width:0px"> 
<embed src="click.swf" hidden="true" autostart=false style="height:0px; width:0px"> 
<embed src="doowip.swf" hidden="true" autostart=false style="height:0px; width:0px">

But still all the audio files are played at the beginning of the page. how can i stop the autoplay of audio files.

Also how can i preload the files for ipad safari?

<audio id="genclick" src="click.wav" type="audio/wav" >
<audio src="doowip.wav" type="audio/wav" >
<audio src="cheer.wav" type="audio/wav" >

the above code not loading the file until i play it from javascript..

document.getElementById("genclick").play();

where am I going wrong??

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T23:19:47+00:00Added an answer on May 26, 2026 at 11:19 pm

    According to http://kb2.adobe.com/cps/127/tn_12701.html the parameter name you’re looking for (for the swf ’embed’ tags) is ‘play’, not ‘autostart’. Therefore, change them to:

    <embed src="cheer.swf" hidden="true" play="false" style="height:0px; width:0px" />
    

    You could also put them within object tags and then use:

    <param name="play" value="false" />
    

    I’ve tested this myself, and it works. As for the tags for iPad Safari, the HTML5 audio tag has an attribute called ‘preload’, which when set to ‘auto’ should preload the files as you want. Try:

    <audio src="doowip.wav" type="audio/wav" preload="auto" />
    

    I hope this helps.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm not referring to preloading images, I want to preload an HTML page using
I have following audio tag in my markup: <audio id=audio preload=auto hidden=true> <source src=#{resource['sounds:filename.mp3']}
I am using javascript to preload several images with the following code: // do
I want to preload two sound-files and play them on user event. Trying to
I'm looking to preload a website. I only want a loading bar once on
I want create a html5 audio in dynamic and play it,here is the code:
How can you preload an entire web page using JavaScript so that I can
I want to show preload image while main page is preparing and then loading.
I want to have an embedded chromeless youtube video preload its video WITHOUT playing
I don't want to know a way to preload images, I found much on

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.