Monday, July 2, 2007

iPhone internet streaming

In one of my earlier post, I mentioned that the iphone could not stream mp3 audio. I was using somafm.com as a demo. They have since taken down the iphone "link"
It appears that the iphone does not recognize .pls files and they seem to work with only certain .mov files.

Well, I placed a mp3 on a test server and it streamed using a .mp3 extension. I could see the download progress bar as the iPhone played the track.



Clearly, you can watch video and listen to music off the web.

If you want to stream video, you will need to embed it into an HTML page like this:

<embed src="your_preview_file.jpg"
href="test.m4v"
target="myself"
width="176" height="132"
controller="false"
autoplay="false"
scale="1"
cache="true"
type="video/quicktime"
pluginspage="http://www.apple.com/quicktime/download/">

Here is a site that has an example:

http://mvstreamer.com/iphone.html

2 comments:

Rusty Hodge said...

As of yesterday, SomaFM now officially supports streaming on iPhones ("version 1" phones, the 2.0 release is not fully supported yet, but then that release isn't public yet either).

woo said...

Soma looks pretty sweet, I'll have to check out your stations. Another way to stream most radio stations on your iphone is using ooTunes. Check it out at ootunes.com