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

  • Home
  • SEARCH
  • 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 848381
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T06:56:01+00:00 2026-05-15T06:56:01+00:00

I have a website www.askvioletnow.com. I added a flash mp3 player that plays a

  • 0

I have a website http://www.askvioletnow.com. I added a flash mp3 player that plays a sound clip when you go to the page.

I know Flash doesn’t work on the iPhone OS, but is there a way to get this type of mp3 player to work on an iPhone? I’m thinking maybe a javascript mp3 player.

What I would ultimately want is to replace my flash mp3 player with a different mp3 player and have it so the player is available on Windows and Mac computers as well as iPhone devices.

Thanks in advance.

  • 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-15T06:56:02+00:00Added an answer on May 15, 2026 at 6:56 am

    You will need to use the <audio> tag in HTML5… also you need to change your doctype to match. So you can use javascript to recognize for Apple type devices and switch to the audio tag when necessary.

    Wrap your embed in a <div> and give it an id say mp3 like this

    <div id="mp3">
    <script type="text/javascript">
    AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','550','height','400','title','Mp3 Player','src','file:///Macintosh HD/Users/phwd/Desktop/mp3player','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','file:///Macintosh HD/Users/phwd/Desktop/mp3player' ); //end AC code
    </script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="550" height="400" title="Mp3 Player">
        <param name="movie" value="file:///Macintosh HD/Users/phwd/Desktop/mp3player.swf" />
        <param name="quality" value="high" />
        <embed src="file:///Macintosh HD/Users/phwd/Desktop/mp3player.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="550" height="400"></embed>
      </object></noscript>
    </div>
    

    Then add some javascript after the div to take care of Iphone and ipods

    <p><script type="text/javascript" language="javascript">
    <!--
    if((navigator.userAgent.match(/iPhone/i)) || (navigator.userAgent.match(/iPod/i)) || (navigator.userAgent.match(/iPad/i)))
    {
         document.getElementById("mp3").innerHTML = "<audio autoplay=\"autoplay\" controls=\"controls\"><source src=\"mp3player.mp3\" /></audio>";
    }
    -->
    </script></p>
    

    Edited:not sure if the iPad detection works but I added it for completeness.

    (navigator.userAgent.match(/iPad/i))
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a website that plays mp3s in a flash player. If a user
I have a website (www.mydomain.com) that is secured with an SSL certificate. It is
Have www.website.com/sds/ (index.htm) set up so that a mouseover on various places shows an
Lets say that you have websites www.xyz.com and www.abc.com. Lets say that a user
I have a website on www.example.com and use Google Analytics. I've also set up
I have a website http://www.domain1.com . Is it possible to register a second domain,
I have developed a website www.tenxian.com. It has three language versions, English, Japanese and
Here's a possible scenario. Let's say I have a website https://www.mywebsite.com and there is
Lets say I have a website www.mySite.com and there are a lot of pages
I have set up a website (www.autobodypartsnow.com) and the search function has gone haywire.

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.