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 8149469
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T14:51:29+00:00 2026-06-06T14:51:29+00:00

I use the following code to add a Music player in my site, <div

  • 0

I use the following code to add a Music player in my site,

<div id="player" style="z-index:100;"></div><!--Player-->

<script language="javascript" type="text/javascript">

var so = new SWFObject("flashmp3player.swf", "player", "242", "150", "9"); // Location of swf file. You can change player width and height here (using pixels or percents).
so.addParam("quality", "high");
so.addParam("wmode", "opaque");
so.addVariable("content_path","<? echo $playerpath; ?>");
so.addVariable("color_path","default.xml");
so.addVariable("script_path","flashmp3player.php");
so.write("player");

</script>

The MP3 files in a folder $playerpath (example: parentfolder/childfolder) will be played by the player. But I do not want the visitors to download the MP3 files. But users who have Internet Download Manager installed in their system see a icon at the left bottom whenever each song plays. Whenever they click the icon the song gets downloaded. How to prevent this?

Refer the image below

  • 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-06-06T14:51:31+00:00Added an answer on June 6, 2026 at 2:51 pm

    This is intrinsic to the fact that you’re sending bare MP3 files to the client. Trying to stop this, as implemented, is like trying to stop people from stealing your images by blocking their ability to right-click on the page. More than likely, this “Internet Download Manager” sees the fact that a request for an MP3 file is going out from the browser, like so:

    GET /my_aweseome_file.mp3 HTTP/1.1
    

    At which point, it says, “hey, the user’s browser is loading an MP3, let’s download it”. So, if you want to prevent this, don’t allow the client to request MP3 files. You could store them in a Flash file or something else, or even stream them from an Icecast server, if you just want them to play back. Keep in mind, though, that at some point, the audio has to be heard, much like the aforementioned images must be seen, and something at some point will be able to capture that audio or that image for storage.

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

Sidebar

Related Questions

I am trying to use the following jQuery code to add a div with
I just use following code to add an image to my project, var paper
I use the following code to add cocos2d scene to a viewcontroller - (void)viewDidLoad
I currently use the following code to trigger an event from my Firefox Add-On.
I use the following code to add rows to my database : public void
I'm trying to use the following code to add an option to a dropdown
So I am trying to use the following code to add some memory to
I use the following code to add text in IOS //Set up label frame
I use the following code to add TTButton in my loadView method: TTButton* button2
I have two problems. 1- I am using following code to add background music

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.