World Library  
Flag as Inappropriate
Email this Article

Google Swiffy

Article Id: WHEBN0033018119
Reproduction Date:

Title: Google Swiffy  
Author: World Heritage Encyclopedia
Language: English
Subject: Adobe Flash, Scalable Vector Graphics, Adobe Wallaby, HTML5, Swfmill
Collection:
Publisher: World Heritage Encyclopedia
Publication
Date:
 

Google Swiffy

Comparison between real Flash (left) and HTML5 (right).
This screenshot is taken using Google Chrome on the Google Swiffy demo page.

Google Swiffy is a web-based tool developed by Google that converts SWF files to HTML5. Its main goal is to display Flash contents on devices that do not support Flash, such as iPhone, iPad, and Android Tablets.

Approach

There is a server-side component (source currently not public) that converts SWF to an intermediate representation serialized as JSON. This representation is in turn converted into SVG in the web browser via JavaScript, which is also used for animations. The Swiffy thesis (2012) explains its general approach in the following way:[1]:15

The choice of SVG for rendering leaves us with several options to animate the SVG content. At first sight, both CSS animation and SMIL, adhere to our design goal of using a declarative representation when possible. However, both technologies provide insufficient control over the animation when support for ActionScript scripting is required. For example, although the concept of keyframes exists in CSS animation, it does not provide a mechanism to synchronise the JavaScript code to those keyframes or to modify the timeline from JavaScript, which is a basic feature required for SWF compatibility. Another limiting factor is that animation in the SWF file itself is not defined in terms of high-level transitions, but defines the position of every object at specific keyframes. Mapping these definitions back onto CSS or SMIL transitions is not always possible. Finally, these standards are not widely available: The CSS animation specification is still in working draft state, while SMIL is not implemented in the Internet Explorer browser. We have therefore chosen to use JavaScript to animate SVG on the client. Although this imperative approach might be less efficient, the level of control it provides is required to match all SWF functionality.

Supports

Google Swiffy currently supports a subset of SWF 10, ActionScript 2.0 and ActionScript 3.0.

Supporting browsers

Development

Swiffy was started in the summer of 2011 by Google engineering intern Pieter Senster, who joined their mobile advertising team to search for solutions to display Flash content on devices that do not support Flash. Progress on Swiffy was sufficient that Google hired him full-time and formed a team to work on the project. The product manager of Google Swiffy is Marcel Gordon.[2]

Swiffy 6.0.1 was released on February 11, 2014.

Related software

References

  1. ^ Pieter Albertus Mathijs Senster, The design and implementation of Google Swiffy: a Flash to HTML5 converter
  2. ^ Google Code Blog - Swiffy: convert SWF files to HTML5
  3. ^ http://techcrunch.com/2013/10/03/shumway-mozillas-html5-based-flash-player-replacement-lands-in-firefox-nightly/

External links

  • Google Swiffy Homepage
  • Google Swiffy Demos
  • Google Code Blog - Swiffy: convert SWF files to HTML5
This article was sourced from Creative Commons Attribution-ShareAlike License; additional terms may apply. World Heritage Encyclopedia content is assembled from numerous content providers, Open Access Publishing, and in compliance with The Fair Access to Science and Technology Research Act (FASTR), Wikimedia Foundation, Inc., Public Library of Science, The Encyclopedia of Life, Open Book Publishers (OBP), PubMed, U.S. National Library of Medicine, National Center for Biotechnology Information, U.S. National Library of Medicine, National Institutes of Health (NIH), U.S. Department of Health & Human Services, and USA.gov, which sources content from all federal, state, local, tribal, and territorial government publication portals (.gov, .mil, .edu). Funding for USA.gov and content contributors is made possible from the U.S. Congress, E-Government Act of 2002.
 
Crowd sourced content that is contributed to World Heritage Encyclopedia is peer reviewed and edited by our editorial staff to ensure quality scholarly research articles.
 
By using this site, you agree to the Terms of Use and Privacy Policy. World Heritage Encyclopedia™ is a registered trademark of the World Public Library Association, a non-profit organization.
 


Copyright © World Library Foundation. All rights reserved. eBooks from Project Gutenberg are sponsored by the World Library Foundation,
a 501c(4) Member's Support Non-Profit Organization, and is NOT affiliated with any governmental agency or department.