an audio file can't be played

Posted in: Newspaper
Post count: 56

hallo everyone,

i have a problem. i have uploaed some audio files (12 so far; all the same type – MP3) and some of them can’t be played in wordpress. but all the files work on my computer. does anybody have an idea why some of the files doesn’t work in wordpress media center?

thanks a lot for an answer!
shogunteam

Post count: 56

p.s. i work on a local server.

Post count: 9544

Hi,
sometimes it’s from
1) file corrupted by media center upload; best to do via FTP and do as binary files
2) permissions problem (not readable by public)
3) space in the file name not being converted to %20
4) multiple periods in filename which most web servers hate; eg. massivesong.rev2.mp3

Not sure if that helps, but those are the issues I’ve had with audio files. 🙂

Post count: 56

hi chrisopher,

thanks for your help! i will check it.

Post count: 56

it can’t be the point 4) – the filename is ok.
all files are the same files (create in the same way etc.) – that’s why i’am so wondering why some of them aren’t work.

could you write more about point 2) and 3)? how can i check it?

i work on a local server (xampp), so i can’t do it via ftp.

thank you a lot!

Post count: 9544

Well … if you don’t have a website to upload to, then it’s a moot point on FTP, obviously.

Permissions on your local machine might not allow playback via a virtual machine. Dunno.

Spaces in file name?

Well, if you have “my new song.mp3” … that looks like song.mp3 to most servers unless the %20is inserted to fill the empty space, such as my%20new%20song.mp3 and so a link to the file might show it not being there. File names should NEVER have spaces in them or more than one period.

Ideally, try loading them to a folder on your web server and see if they work on the web from the browser. Sometimes stuff just doesn’t work off your local machine and that’s just the way it is. Gremlins!

  • This reply was modified 11 years by simchris.
Post count: 9544

Worst case, try re-encoding the non working files; rename them, then try using them from the new file name.

Post count: 56

the problem is, the most of the files work.
only three of them does’t work, although all of them have the same property…

i will try it tomorrow with your last tip.

thanks a lot!!

Post count: 9544

Yup. That implies file corruption, permissions issue, or wrong file name being called due to bad filename (spaces, or multiple periods). SO, trick is to sort out which one is the culprit on the specific files. 🙂

Viewing 9 posts - 1 through 9 (of 9 total)
The forum ‘Newspaper’ is closed to new topics and replies.