HTML5 video for iPhone and Android - iphone

According to http://www.treysmithblog.com/how-to-make-html5-videos-for-iphone-and-ipad/
To play video on iPhone with HTML5, we should using QuickTime to transform the mp4 file. After transforming the mp4 file, is it also support for Android and other OS like windows, linux?
Thanks

If only it were that simple. I'm not sure what format Android supports for html5 video, or if it even does. Google put out an opinion piece that by default all browsers should support the open source WebM format, which they purchased and then open sourced. I believe this is the default format for the Desktop Chrome browser. Windows will support any format that you've installed a codec for, so if the user has Quicktime installed mp4 should work, if not maybe not. If you supply a fallback of Flash video, then most newer versions of Android should support that.
Good Luck!
ps
You may want to take a look at this.

Related

JXBrowser - playing m3u8

Is JxBrowser able to play m3u8 content?
Chrome can through an extension but JxBrowser does'nt use extensions.
I could not find any PPAPI plugin for that..
Any idea?
Thx,
Romain.
According to the Chromium issue tracker and forum, they don't have plans to implement the support of playing the m3u8 content.
Therefore, it doesn't look that there is a possibility to play such a content in JxBrowser.

How can I make Video.js work on iOS devices?

I'm using the Video.js framework for displaying videos on my HTML5 pages.
The videos display correctly on all desktop browsers (the latest version of each), but not on my iPhone or iPad (it doesn't show anything).
How can I make it work on them too, especially the iPad?
It is VERY important that you encode the mp4 file using the "Baseline" settings. I was using Adobe's Media Encoder for the mp4 file I was generating. Even though I selected a preset for Apple TV, iPad, iPod... the default profile was "Main". This did not work on my iPhone. When I re-encoded I set the Profile to "Baseline" and the Level to 3.0 and, Voila, it plays on my iPhone.

Do apple native media player play Play-ready media files

I have been researching on whether we can create an app which will play Play-ready protected DRM video files in apple's native media player. But what I could collect is that apple will not allow DRM protected video files to be streamed or played through media player. However if this the case, how there exists solutions which can decrypt the files and play them from within the app?
Also as per my R&D, the device should support play-ready file format. Hence now OEM's are launching phones like HTC, nokia with play-ready support. But how will we provide support on apple devices?
Please, any inputs or thoughts on this will surely be helpful.
You may be interested by the solutions of
Discretix: http://www.discretix.com/DRM/index.html
and
and Authentec: http://authentec.com/a/downloadabledrm.aspx?gclid=CNT399qy4a4CFUG_3godhRa2YA
Creating an app that uses PlayReady should be possible but to enable ReadyPlay via the "native media player" is up to Apple alone - they control the installed codecs. Getting PlayReady on an apple product may be tricky. As a Microsoft propriety DRM format you will need to get licensing from Microsoft and pass the appstore at Apple. Any tools offered for PlayReady will be PC centric, the DRM may be platform agnostic but without IOs friendly tools you have a lot of work ahead.

Play SWF files one the iPhone

I am new to the iPhone development, I need to develop application in which I can load SWF files (shock wave file). I have done lots of research but I couldn't get it to work. How do I load it on the iPhone ? if it's not possible, what alternatives do I have ?
There is no Flash player on iOS and no other solution to play Flash in your app. However, you might want to look into Adobe AIR for iOS which is able to produce iOS apps.
The iPhone doesn't support flash.
iOS Doesn't support Flash so you won't be able to launch a swf. If you have the source for the SWF you could consider building an ios app through Flash CS5+. Also, you could try porting it to haxe, which is very similar to actionscript and should allow you to build for both Android and iOS at once.
As I know there is no such application (expect Frash, which is only available on jailbroken iPhones) which can load SWF Files on an iPhone.
The only way you can go is to convert that file in an iPhone readable format, which I can't recommend as the results are normally horrible.
Otherwise I suggest to recode the behaviour of that SWF File in Objective C or something similar to that.
There is no Flash player in iOS. Even more – it is forbidden by Apple iOS Developer Agreement to deploy them (and other technologies where you may use an app to execute another executable code of any kind (SWF, Java, AIR, etc.) on iOS devices.
You can also make your own flash player.

Creating .flv files on the iphone without using ffmpeg

How does one create .flv files on the iPhone?
I am aware of ffmpeg (with its LGPL restrictions). But are there other APIs that have been ported to iOS?
This seems like a strange question. .Flvs don't 'live' in the iPhone universe. They're not supported under iOS.