Adding a mp3 file

XHIBIT

Verified User
Joined
Aug 30, 2008
Messages
6
Whenever I upload a mp3 file to a folder to have the song open in a pre installed wmp in a popup window, the file isnt able to be edited.
In fact it I cant even get in it to copy the url and add it to the media player. Am I doing something wrong.
I never had this issue with CPanel

For example the image link is on the right that says "On Air".

http://ufoopenline.loadedparanormal.com/portal.php
 
Last edited:
Well not really sure about the problem you're talking about, but the On Air thing doesn't work because the <embed> tag is wrong. The source of the popup says this:
Code:
<embed type="application/x-mplayer2" pluginspage="http://www.microsoft.com/isapi/redir.dllprd=windows&sbp=mediaplayer&ar=

Media&sba=Plugin&" src=""http://www.filefreak.com/pfiles/71720/MUSIC/CANIBUS-SPITTEST.mp3"

name="MediaPlayer" showcontrols="TRUE" width="355" height="275">
When it should be:
Code:
<embed type="application/x-mplayer2" src="http://www.filefreak.com/pfiles/71720/MUSIC/CANIBUS-SPITTEST.mp3" name="MediaPlayer" showcontrols="TRUE" width="355" height="275">
 
mp3

Uhm thats because I was trying a different way and you just happened to have caught it (or rather me) while I was trying a different method.
And that didnt answer my question about gettin mp3 files uploaded.

The popup window and player works just fine.
In other words Im trying to upload several songs that can open in an embeded popup window so they can stream.
But I really dont care much for Direct Admin panel.
I never had this issue with Cpanel, when you upload a mp3 file all you have to do from there is link to it.

My question is am I doing something wrong, or why does it redirect me to my own pc file when I click the mp3 after uploading it ?

Also this is the code I normally use

<embed type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/MediaPlayer/" name="mediaplayer1" ShowStatusBar="true" EnableContextMenu="false" autostart="true" width="300" height="200" loop="false" src="http://www.filefreak.com/pfiles/71720/MUSIC/5%20Dimensions%20Ft%20Labal-S.mp3" />

If I'm paying to be hosted I should be able to load my own songs...I have waaaay more than enough space on this site which is actually a subdomain.
 
Last edited:
re

That code does work, I've used it on another site, and has nothing to do with my question.

When I upload .mp3's and click it afterwards, it directs me to save it to my pc which is obviously wrong.

I'm trying to upload and host my own songs to play in an embded wmp that opens in a small popup window which are all intact.
I just need to know why the mp3 files direct me to save them ?
 
That code does work, I've used it on another site, and has nothing to do with my question.

When I upload .mp3's and click it afterwards, it directs me to save it to my pc which is obviously wrong.

I'm trying to upload and host my own songs to play in an embded wmp that opens in a small popup window which are all intact.
I just need to know why the mp3 files direct me to save them ?
They direct you to save them because your browser doesn't know how to handle them. The server sent out the header for the filetype, it's up to your browser to do something with it, whether it be save it or display it in-window using WMP or something else.
 
Actually its up to the server to tell the browser what to expect. For instance from the server I can cause a cgi script to be run or downloaded depending on the AddHandler.

I have no idea how to do what you are trying to do but the problem is with the apache configuration.
 
Back
Top