rejetto forum

Software => HFS ~ HTTP File Server => Topic started by: marshall_teller on August 15, 2008, 10:19:18 AM

Title: Streaming mp3 on iPhone
Post by: marshall_teller on August 15, 2008, 10:19:18 AM
Hi,

I can connect to HFS on my 2.0.1 iPhone, when i try to play a mp3, it opens the "quicktime" player i mobilesafari.
i get "Loading Movie" but than i get an error message "This movie could not be played"

Are there any setting on HFS what need to be corrected? Please help.

Thanx
Title: Re: Streaming mp3 on iPhone
Post by: rejetto on August 15, 2008, 10:52:41 AM
try
mime types
add row
*.mp3
audio/mpeg
Title: Re: Streaming mp3 on iPhone
Post by: marshall_teller on August 15, 2008, 06:39:42 PM
I tried that but it's not working.
Title: Re: Streaming mp3 on iPhone
Post by: rejetto on August 29, 2008, 11:33:24 AM
tell your mobilesafari to open it with your media player instead of the embedded quicktime.
i have no iphone, and even no mac, so i cannot try myself.
Title: Re: Streaming mp3 on iPhone
Post by: Tainted on April 15, 2010, 01:42:12 AM
I'm resurrecting this thread because I have this exact problem. I'm trying to play MP3 files served up via HFS.

I'm not sure what the problem is because I have a web host where if I have a direct link to an MP3 file, I can easily surf to the link in Safari on the iPhone and play the file by clicking on it. But with HFS, the iphone complains and stops with a "Cannot Play Movie" and "The file is not available." It's so strange because they both should be doing the same thing (easily playing the MP3 file), but on my host (apache) it works and on HFS it doesn't. And yes, I've added MIME type.

Any ideas?
Title: Re: Streaming mp3 on iPhone
Post by: Taint on April 15, 2010, 05:40:10 AM
It took a while, but I figured it out. The "Prevent Leeching" option breaks the iPhone's ability to play MP3 files linked inside HFS rendered web pages. Once I turned that off, the iPhone does a great job of progressively downloading and playing MP3 files -- even over 3G.
Title: Re: Streaming mp3 on iPhone
Post by: rejetto on April 15, 2010, 11:47:25 AM
good to know.
thanks for sharing.
Title: Re: Streaming mp3 on iPhone
Post by: ElSid on April 19, 2010, 05:43:59 PM
Taint,
Is this one song at a time or can you do a playlist/albums?  Does it play through Safari or the iPod built into the phone?