Mozilla's Open Source Project Shumway To Translate SWF To HTML5
An anonymous reader writes "Mozilla currently has an experimental project on github called Shumway to try to interpret SWF (aka Flash files) using browser-standard technologies like HTML5 and JavaScript. All I can say is please and thank you! 'Shumway is an HTML5 technology experiment that explores building a faithful and efficient renderer for the SWF file format without native code assistance. Shumway is community-driven and supported by Mozilla. Our goal is to create a general-purpose, web standards-based platform for parsing and rendering SWFs. Integration with Firefox is a possibility if the experiment proves successful.'" It's not the first such attempt; here's a post from a few years back about one called Smokescreen, and another about QuickTime programmer Steve Perlman's subscription-based workaround for iDevices.
ALF, is that you?
>efficient
>without native code
Hahaha... what?
Google has a project going along these lines, called Swiffy. Looking at the demos, it appears to work pretty well.
If it can translate every game and movie on e.g. Newgrounds, and be playable, then it's awesome!
The racing demo is the only one that worked for me. The other two examples did not work. Still pretty neat
I guess it's a good thing API's can't be copyrighted or this would have been DOA. Perhaps Adobe could get behind this as well. What could be better than still being able to sell your developer tools for Flash and not have to create clients for all the different platforms anymore.
"A person is smart. People are dumb, panicky dangerous animals and you know it." - K
More anti-flash code at
https://savannah.nongnu.org/projects/linterna-magica/ (gpl v3)
http://webgapps.org/add-ons/flashvideoreplacer/ (gpl v3)
I can't wait to watch Shumway on Shumway...
Another one? I think there are couple of dozens already... Sadly I am yet to see one that translates a good flash game in to html5...
JSAS3 and HTML5Flash, you can fit one in to another. You can go and compile browser written on C++ in to Flash. You can go and compile same C++ browser in JS/Canvas combo. Why? Cuz JS is scripting language, its not all purpose programing language like C++, and its not even close to such a limited language like AS3 which Flash uses...
Anyways, best I seen so far is Jangaroo http://www.jangaroo.net/applications/
At least it does not fail to translate such complex things as C++ Box2D port to Flash that then is ported with it to HTML5
Still I am waiting for JS to evolve in to a more all purpose programming language with proper OOP, proper low level efficient types so that C++ like code can be compiled in to it without loosing shitloads of performance... Some optional layer of strict typing over it for those who need it in large front end projects.
Then we will see, until that HTML5 is just light front end overyhyped gimick that fries your computers better then Flash ever was able to...
http://blogs.adobe.com/conversations/2011/03/flash-to-html5-conversion-tool-on-adobe-labs.html
Despite everyone's hatred of Flash, it exists because there was no other way to get that type of functionality on the Web until relatively recently. I remember when FutureSplash came out in 1995 and it was very impressive compared to state of what you could do on the Web at the time. When Macromedia added the programming capability it was even more impressive. However, the time has come to move on to next great thing. Such is the way of technology.
Whatever you think about Mozilla's products, experiments or strategies, they are working for a free web.
It's more than admirable, it's good for the web to have them around.
There's still quite many things that can't be done in HTML5 + JS. I've been hosting a real time web audio application since 2005. It's implemented in Java, and I've been waiting for a low-level JS audio API ever since I made the app, but the API offering is still a bunch of non-standard hodgepodge. And the JS performance isn't quite there for real time audio. Until the API offering is good enough, I don't understand the drive to port stuff from working plugin-based solutions to broken HTML.
Eventually, we're going to have a fancy VM running inside our browser, which will look surprisingly much like Java or Flash (but likely is even more messy).
Now we only need a project that converts HTML5 to something that can be rendered uniformly on all major browsers.
If Pandora's box is destined to be opened, *I* want to be the one to open it.
True, 90 percent of Flash animations and games on Newgrounds are probably crap. But just because 90 percent of works in any medium are crap, as Theodore Sturgeon observed, doesn't make the other 10 percent worthless.
Now we only have a project that converts HTML5 to something that can be rendered on IE
FTFY^2: Google Chrome Frame is a browser helper object for IE that allows web sites to tell iexplore.exe to render them in Chrome's version of WebKit instead of Trident.
Wow, how does it play flash in a markup language?
The Macromedia Flash interpreter gets more done with less code than almost anything else in computing today. Until a few years ago, the executable was under 1MB. The file structure allows execution before the entire file has been read in. The timeline and assets stream organization makes this possible. It's an elegant little system for doing animation with a low-bandwidth stream. Yes, today it tends to be used mostly for its video codec, but that's an artifact of YouTube. (And the fact that Apple turned the QuickTime plug-in into a way to force people to install iTunes.)
The Flash format isn't even proprietary. There are third-party Flash interpreters. They're widely used for the 2D interface components of video games.
I thought they had commercial versions of these up and running in special web browsers for iOS devices.
The Official Site of 1337 Pwnage
Are they going to call it SWF.js?
I hope it ends up being a few orders of magnitude faster than PDF.js is at rendering.
#DeleteChrome
From what I've seen, the built-in HTML 5 video of Firefox performs very poorly, nowhere near the performance of the Windows Media Player plugin, and is even worse than Flash, especially when a page is scaled.
Since Flash itself does a decent job at rendering vector animation, I wonder if Firefox can reach that level of performance? Flash itself is still slow, and has much room for improvement, so the sky is the limit to making a better Flash player.
"using browser-standard languages like HTML5 and JavaScript"
Fixed it for you.
Stop using "technology" for things when you don't know what they are. It makes Slashdot sound stupider.
Why waste time on this, instead of contributing to Gnash/Lightspark.