• About
  • Blog News

  • Online Video
    • Trends
    • Showcase
    • Flash Video
    • HTML5 Video
    • Live Video
    • Media Servers
    • Streaming
    • Content Protection
  • Mobile
    • Trends
    • Adobe AIR
    • Showcase
    • Devices
    • Android
    • Apple
    • RIM
    • Digital Home
  • Interactive Web
    • Trends
    • Fun
    • Showcase
    • Gaming
    • 3D
    • HTML5
    • Flash/Flex
  • Advertisement
  • Articles
  • Events

Home » Mobile » Adobe AIR » Flash Player and Android Changes – A Technical Deep Dive How to Adjust Your Mobile Strategy

Flash Player and Android Changes – A Technical Deep Dive How to Adjust Your Mobile Strategy

Posted by: Jens Loeffler    Tags:  Android, Flash Player, Mobile    Posted date:  December 19, 2011  |  3 Comments



Adobe recently announced to not further focus on Flash Player on mobile – a logical step since iOS doesn’t have Flash Player browser support, and therefore mobile sites are mostly developed in HTML5.

Over the past two years, we’ve delivered Flash Player for mobile browsers and brought the full expressiveness of the web to many mobile devices.

However, HTML5 is now universally supported on major mobile devices, in some cases exclusively.  This makes HTML5 the best solution for creating and deploying content in the browser across mobile platforms. We are excited about this, and will continue our work with key players in the HTML community, including Google, Apple, Microsoft and RIM, to drive HTML5 innovation they can use to advance their mobile browsers.

Our future work with Flash on mobile devices will be focused on enabling Flash developers to package native apps with Adobe AIR for all the major app stores.  We will no longer continue to develop Flash Player in the browser to work with new mobile device configurations (chipset, browser, OS version, etc.) following the upcoming release of Flash Player 11.1 for Android and BlackBerry PlayBook. [Adobe blog]

But what does this mean for Android browser based video delivery, which often relies on Flash Player for advanced videos features? While iOS has a robust video framework across all devices to support HLS for browser and application video delivery, Android started to introduce HLS with Android 3.0. Prior to that, native video features are fairly limited. Flash Player helped to overcome the fragmentation and allowed to take advantage of the video player investment on the desktop.

How does this change impact my Android video strategy?

First and foremost Flash Player on Android will remain available. Adobe recently updated Flash Player for Android 4.0 Ice Cream Sandwich. This means there is some time before Flash Player incompatible devices will enter the market. Not a long term strategy, but also no reason to panic. In addition, as mentioned before, Android 3.0+ started to support HLS for video delivery, which became more robust in Android 4.0.  Flash Media Server 4.5 already has support for HLS for iOS. Even better, you can use the same workflow and assets to support both HLS and Flash Streaming formats (HDS, RTMP).

Flash Player (*) HLS

Adobe AIR

Android 2.2 Yes No Yes
Android 2.3 Yes No Yes
Android 3.x Yes Yes, but limited Yes
Android 4.0 Yes Yes Yes
Android Next No Yes Yes

(*) Could break with potential OS or hardware updates

Figure 1) Flash Media Server 4.5 video delivery to mobile browsers

 

 

 

 

 

 

 

What is the difference between HLS and HDS, and why are there two different formats?  It would exceed this blog post, but thankfully Kevin Towes shared a whitepaper on the different approaches, and the value of fragmented mp4 formats (=HDS, Smooth Streaming).

How to move your Android Flash browser video experience to an AIR application

The strategy above addresses video delivery in the browser. But what if you made a significant investment in your Flash-based video experience, and it’s challenging to rebuild it with HTML5 and HLS? This is were Adobe AIR comes in, which allows you to build Flash-based applications for Android, iOS, Playbook, and hopefully soon Windows 8. If you are not familiar with Adobe AIR, check out the examples, and specifically for video, WatchESPN, SnagFilms and PsychVision 2.

AIR for Android includes the Flash runtime with all the rich desktop video features, including the HDS and RTMP streaming protocols, and advanced content protection with Flash Access. Although an AIR application cannot be embedded in a native application, it can include HTML5 and takes advantage of advanced Flash tooling, including Flash Professional and Flash Builder with Flex Mobile. In addition, Adobe AIR supports embedding native code in form of native extensions.

Here are two popular models:

Figure 2) Application models

 

 

 

 

 

 

 

 

As you can see, the AIR model is and will be fully supported. The second model, embedding Flash Player with WebView in a native Android application, has the same restrictions as the browser use case. Please note that loading Flash Player into the StageWebView of an AIR application uses the Flash Player installed on the device, not the Flash Runtime embedded in AIR – therefore you have the same limitations as in a native application.

With this in mind, you can start converting your existing player into an AIR project, and export it as an AIR application. In most cases this is all you need to do, but in certain scenarios you have to load OSMF plug-ins from third party URLs, which might become challenging due to Adobe AIR’s stricter security model (this is on purpose, since AIR has more access to the system than Flash Player in the browser).

Figure 3) AIR and OSMF plug-in security issues

 

 

 

 

 

 

 

 

 

 

The solution is to move the OSMF player into a SWF, upload the SWF to a website domain, and load the video player SWF via NetLoader.

Figure 4) Adobe AIR with external OSMF SWF

 

 

 

 

 

 

 

 

 

Now OSMF and the plug-ins are in the same security sandbox and communicate with the regular Flash Player security rules (crossdomain.xml, etc.). With this method, you should be able to convert your browser-based video player into an AIR application within minutes.

Conclusion:

  • Don’t panic, Flash Player on Android will not go away immediately, and it has Android 4.0 support
  • Android 3.x+ has HLS support, and Flash Media Server 4.5 already supports HLS for iOS
  • Adobe AIR allows you to convert your existing video player into an Android application,  and combine Flash, HTML5 and native code

Obviously this is a very concise overview, and you can deeper into each area, but hopefully a good starting point.

 

About the author
Jens Loeffler
Technology enthusiast and evangelist, with a passion for online video and mobile. Senior technical evangelist on Adobe's Media Solutions product management team focusing on online video and services. The views expressed on this blog are personal views.



Related Posts

Is Samsung’s Ad Strategy Oddly Similar to Apple’s?
I remember first seeing the Samsung Galaxy S II commercial  "The Way We're Wired" and I was surprised about the depth of the message, and the very emotional, almost revolutionary theme. Until I read about Apple's "The...


Source Code – 720p Video on iPad and Android Tablets with Adobe AIR
My guide to advanced video delivery with AIR for mobile resulted in a lot of interest, but also in the question how to exactly achieve 720p video quality on tablets, and the request for an encoding example with the corresponding...


Adobe AIR based Snagfilms available for Android, Kindle Fire and Playbook
Earlier this month, Snagfilms launched their free online video streaming service to devices using Adobe AIR. SnagFilms today released the most popular titles in its acclaimed independent film library via new free film-streaming...


Sign in
Livefyre logo
  • Comment help
  • Get Livefyre
Post comment as
twitter logo facebook logo
Sort: Newest | Oldest

Trackbacks
  1. Flash Player and Android changes – a technical deep dive how to adjust your mobile strategy | Flashstreamworks | Everything about Flash | Scoop.it says:
    December 21, 2011 at 4:44 am

    [...] jQuery("#errors*").hide(); window.location= data.themeInternalUrl; } }); } http://www.overdigital.com – Today, 1:44 [...]

  2. Mobile Video with PhoneGap, HTML5 and Strobe Media Playback … | Programmer Solution says:
    January 27, 2012 at 9:36 pm

    [...] video experiences. On other platforms like Android, it’s important to consider the currently fragmented browser video capabilities. To eliminate the fragmentation challenge, Adobe AIR provides an unified video [...]

  • Find Articles

  • Recent Posts

    • 2012 AMGEN Tour of California Tour Tracker
      Although there have been many iterations of the Tour Tracker during the last years...
    • Machinarium Now Available for Android Tablets via Google Play
      One of the best AIR games is available on Google Play now. Interestingly it's not featured...
    • Pinterest vs. Facebook: The Battle for Your Dollars
      Pinterest versus Facebook; whose users spend more money?  Fashion website Bottica.com...
  • Popular Posts

    • The Ultimate Guide to Understanding Advanced Video Delivery with AIR for Mobile
      Adobe AIR provides a very attractive abstraction layer for video playback on mobile...
    • HLS vs. HDS - What Is the Difference and Why You Should Care
      Unless you work daily in the streaming business, it's sometimes hard to get into...
    • The 54th Grammy's Rock with Stage3D
      Literally. The new site "We are music" for the 54th Grammy's, airing on CBS on Sunday,...
  • News in Pictures

  • Social Media





 
  • Online Video

    • 2012 AMGEN Tour of California Tour Tracker
      Although there have been many iterations of the Tour Tracker during the last years...

    • Online Video and Close Captioning - It's Getting Real
      Solving the challenges of close captioning on the web is not optional anymore, but a requirement...

    • Accenture Video-Over-Internet Consumer Survey 2012
      Accenture published a study called "Heart, Minds and Wallets - Winning the Battle...

    • Flash Media Server 4.5.2 Released with Robust HTTP...
      Version 4.5.2 of Flash Media Server is now available. Besides numerous bug fixes,...

  • Mobile

    • Machinarium Now Available for Android Tablets via Google...
      One of the best AIR games is available on Google Play now. Interestingly it's not featured...

    • Monster's Socks on the iPad with Adobe AIR
      A very cute Adobe AIR based book for iOS about a little monster trying to find its socks....

    • Walking Dead: Dead Reckoning with Adobe AIR
      If you are hooked on Walking Dead, AMC's blockbuster zombie TV series, you will enjoy...

    • The Unofficial Guide to the New iPad 3 Retina Display...
      Apple has been traditionally very good at introducing new features you initially...

  • Interactive Web

    • Silent Hunter Online Comes to the Web with Flash Player...
      Silent Hunter is one of the games I grew up with, and it is amazing to see it going...

    • Feel the Wrath with the "Wrath of the Titans" Augmented...
      Very interesting use of augmented reality for the movie "Wrath of the Titans". It combines...

    • KingsRoad - Stage3D Game Announcement Trailer
      KingsRoad is a promising medieval fantasy role-playing game powered by Stage3D. KingsRoad is...

    • CNN Ecosphere Demonstrates the Power and Limitations...
      CNN Ecosphere is "a real-time view of the global climate change discussion", and a great...

  • Contact Us

    CAPTCHA Image
    Refresh Image

 
The views expressed on this blog are personal views and should not be taken to represent corporate strategy or official Adobe positions.
The content of the posts at this site should not be re-distributed by commercial media.
(c) 2012 Overdigital.com | Logo Design Stiehl/Over