Friday, January 16, 2009

iMobileCinema v2 Beta 4 Released

iMobileCinema for iPhone 2.x firmware Beta 4 (v2.1.2192) is released.

This a bug fix release. Scale feature added and playlist supported.

Saturday, January 10, 2009

Make Your FLV Playable in iPhone iMobileCinema

If you host a flash video site, you can make the flv file playable on iPhone by adding some html codes.

The simplest way is writing a embed tag like this,
<embed src="http://imobilecinema.com/imcfp.swf" type="application/x-shockwave-flash" width="320" height="240" flashvars="file=URLEncoded_FLV_File_URL&image=URLEncoded_Thumb_Image_URL"></embed>

e.g., if the flv file url is http://example.com/test.flv, and thumbnail image url is http://example.com/test.jpg, the embed tag should be like this,
<embed src="http://imobilecinema.com/imcfp.swf" type="application/x-shockwave-flash" width="320" height="240" flashvars="file=http%3A%2F%2Fexample.com%2Ftest.flv&image=http%3A%2F%2Fexample.com%2Ftest.jpg"></embed>

The source swf is a fake swf file for triggering iMobileCinema only. So we recommend that the embed tag code should be showed on iPhone only. You can detect the device by checking User Agent, or using javascript.

HTTP redirection is supported, so if your embed src is http://example.com/playtest, and is 302 redirected to
http://imobilecinema.com/imcfp.swf?file=http%3A%2F%2Fexample.com%2Ftest.flv&image=http%3A%2F%2Fexample.com%2Ftest.jpg
It will work like the previous example.

An advanced usage is using req argument instead of file argument. This is useful if you want to generate different flv file urls, for mirror sites or temperory files. e.g., if your flashvars is
flashvars="req=http%3A%2F%2Fexample.com%2Frequest"
The result of http://example.com/request will be used as flv file url, which should be plaintext.

Friday, January 9, 2009

iMobileCinema v2 Beta 3 Released

iMobileCinema for iPhone 2.x firmware Beta 3 (v2.1.2188) is released.

What's new
1. VP6 decoder optimized;
2. SBSettings controller added;
3. Bugs fixed.

We changed back to software audio decoding from hardware, because we were troubled in the sound cutting off problem while using hardware decoder. But hardware decoder has lower CPU usage. To enable it, you need to change configuration manually, which located in:

/var/mobile/Library/iMobileCinema/configuration.plist

and change the value of item isUseAudioHA to ture.