13 ms·
HTML5 Flash Player (Shumway) lands in Mozilla
- gkoberger 13y agoVery cool. Here's some more demos: http://mozilla.github.io/shumway/ http://mozilla.github.io/shumway/
- ekianjo 13y agoThe other cool thing about this is that it could potentially bring back Flash compatibility on Linux machines since the official Flash support/updates was dropped in 2011.
- cpeterso 13y agoAnd other platforms like Android and Firefox OS. The areweflashyet.com demos apparently also work on iOS!
- X4 13y agowow, just installed this on Linux, disabled the flash plugin and flash doesn't crash anymore yipiii :) It appears that the flash testing site doesn't work with it though: http://www.adobe.com/software/flash/about/ http://www.adobe.com/software/flash/about/ Now I have 0 Plugins Enabled in Firefox. It's perceived about 40% slower though. :/
- spongle 13y agoGreat effort but I really don't want this. I've lived without Flash for a year now and all is good. We just need to break the crack addiction!
- ekianjo 13y agoIt's not because you pretend Flash doesn't exist that it disappears from the Internet.
- Wintamute 13y agoThere's no real conceptual difference between a <canvas> element, a <video> element, a WebGL experience, a NaCl app or a Flash <object> on your webpage. They're all somewhat non-semantic, hard to search, rich media black boxes. So what's your particular beef with Flash, especially when rendered via HTML5? Or do you just hate all tools that enable creativity beyond a plain text website equally? Or did you just drink the Flash-should-die KoolAid without really thinking about it?
- mohawk 13y agoI can tell you what my problem is with flash: the reference implementation by Adobe stinks.
- spongle 13y agoYes there is. You misunderstand. My beef is with NaCl, objects, Applets and ActiveX etc as well, mainly because they run outside of the browser's engine, sandbox, security model and conceptual model. you also have to ship them externally to the browser. Canvas, video, webgl fine.
- biot 13y agoFrom the fine article: "Shumway is an HTML5 technology experiment that explores building a faithful and efficient renderer for the SWF file format without native code assistance." By your criteria, you should be fine with this.
- spongle 13y agoWell if it wasn't for the numer of turtles in the pile on the way down it'd be fine. This is a whole other layer on top...
- riquito 13y agoYou end up seeing a canvas, does it matter what application was used to draw it? (by the way I don't like Flash either for different reasons)
- 13y ago
- devx 13y agoThis will actually make Flash go away faster, since now more devices and browsers can start ignoring supporting Flash.
- Tloewald 13y agoThis isn't ignoring flash, it's supporting some random subset of it with different bugs.
- gpvos 13y agoThe main problem for me was that it was a proprietary, terribly buggy and insecure piece of code. In principle, Shumway should fix that. The other problem is autoplaying audio and video, which is annoying in the extreme. So I hope there will remain a click-to-activate option for this.
- nfoz 13y agoIsn't autoplaying now pretty much impossible to stop, short of disabling JavaScript (where that's even an option)? Web pages have become an alternative, yet equivalent mechanism to flash.
- davidcollantes 13y agoAnother nay vote from me as well. I do not use Flash at all. Do not need it, nor want it.
- OliC 13y agoWhy didn't this come out of Adobe a year ago?
- maheart 13y agoWhy would Adobe do something like this? It costs them money and it doesn't improve their position (and IMO, their goals) at all.
- ZenoArrow 13y agoFrom where does Adobe get money from Flash? It isn't through the Flash Player plugins (which are already free), but it does get money from tools that create Flash content. So why wouldn't it make sense for Adobe to have made a move like this?
- clopez 13y agoBecause is smarter to invest in developing a new tool to create HTML5 content than to invest in a tool that converts the deprecated flash to HTML5.
- ZenoArrow 13y agoSmarter for whom? Adobe? It's in their interest to keep the 'depreciated' Flash going as long as possible, whilst it still makes them money.
- Jasper_ 13y agoIt actually still makes them money. The Flash authoring environment is still one of the more popular methods of doing production-quality animation. See http://coldhardflash.com http://coldhardflash.com for lots of examples. The Flash authoring environment is the best vector graphics editor I've used, even without the animation and scripting on top. They're still going to continue that, even if the Flash Player plugin is a bit behind.
- eksith 13y agoThis is great news. Now if only Mozilla made it easy to remove plugins just as other addons[1], we'll be all set. [1] At present, you'll need to go to [your install folder]\extensions or check their path. To do this, go to about:config and set 'plugin.expose_full_path' to 'true'. Now go to about:plugins where you'll see the full install path. Go to these and delete the .dll Edit: Globally installed plugins, may affect other browsers installed on your machine. Renaming is probably safer in case you need to roll back.
- AndrewDucker 13y agoGo to Tools->Addons. Select the "Plugins" tab. Select "Never Activate" for the ones you don't want to activate.
- eksith 13y agoMy OCD wouldn't allow a plugin that is "just there" in the browser even if it's not activated ;)
- evilpie 13y agoplugin.expose_full_path does nothing and about:plugins always shows the full url nowadays.
- aktau 13y agoIn something I'm building, we have to play all kinds of clips. Some of the more "legacy" ones are unfortunately in flash. We can't get rid of them for the next few years and nobody is going to redo them in something else. So this might a really good thing to be able to get rid of the flash plugin but keep supporting those files. Thanks mozilla!
- ethana 13y agoWhat black magic is this? I wonder what the performance hits will be like though.
- Marazan 13y agoWhy would you think this is black magic? The SWF format has been open for years and there are many other flash players out there.
- Sami_Lehtinen 13y agoWhy not to convert flash stuff to html5 directly? Using runtime is just extra overhead.
- lportion 13y agoI think there might be a lot of complex Flash games out there that are written in AS* that would not be too easy to port to HTML5. Or at least it would be time consuming.
- Yoric 13y agoThat would be the ideal case. However, that would require the cooperation of the owners of all this Flash stuff, and there is simply no way to get them all to agree to get rid of Flash just because the reference implementation happens to be annoying, crash-prone, unsafe, etc. So, in practice, the only way to handle the issue is to do stuff at runtime.
- frou_dh 13y agoSimilar issue to there being a colossal amount of invalid HTML out there that's never going to be made valid, so the browsers just have to do the best they can. It's the way of the web.
- Doctor_Fegg 13y agoVarious people are working on this: Jangaroo and Flex-ASJS/FalconJX (part of Apache Flex) are the two most active projects.
- nl 13y agoIs there a reason this has to be an extension? What is stopping it from being hosted on a webpage, which then loads flash files from URLs? (Background: I need a way to let thousands of flash-based educational resources be usable on an iPad)
- robin_reala 13y agoIt doesn’t have to be an extension, their demo page just loads the player as a JS file: http://mozilla.github.io/shumway/iframe/viewer.html?swf=../main.swf http://mozilla.github.io/shumway/iframe/viewer.html?swf=../m...
- Ygg2 13y agoIt's literally the same situation as with PDF.js. You can use it as a library for viewing pdf/swf; you can embed it into your browser. Hell, you can probably put it on your Node server.
- Kartificial 13y agoWhy is this called a HTML5 Flash player? What is HTML5 about it?
- robin_reala 13y ago<canvas> is an HTML5 element? :)
- deleted 13y ago[deleted]
- AndrewDucker 13y agoThe browser only needs to support HTML5 in order to run SWF.
- hcopr 13y agoNothing beats the ease with which the regular flash player can be blocked, and then occasionally loaded by mouse click as it works with flash block and the like. The danger of it becoming an extension is that it's now more difficult to have that block/override workflow. And there's always the dreadful prospect of people embedding it directly into their site, potentially leading to a new wave of blanket JavaScript blocking as a response.
- Grue3 13y agoThe current reliance of sites on Javascript is worse than Flash ever was. Flash elements can be blocked, but if you block javascript, this disables the entire site, so you have to live with CPU chugging mess of a website.
- hcopr 13y agoThat is sort of my point though. On the other hand, I can see myself just stopping to use sites that abuse JavaScript, keeping the "good" ones. Maybe that kind of feedback just have happened on the web a long time ago.
- roarroar 13y agoToo bad. The browser is becoming general purpose with asm.js, WebGL etc. You can't hold back progress.
- hcopr 13y agoI think you might have misunderstood my point.
- exo762 13y agoI wonder if this project will suffer from same things that haunt Mono and Moonlight - chasing a moving target that does not want to be reached.
- robin_reala 13y agoFlash is far from moving fast these days.
- anon1385 13y agoThank god for noscript.
- trycatch 13y agoI tried to use it ~1 month ago, it wasn't a great experience. I tried playing video and several games on Kongregate, and almost nothing worked, except Flash ads (only few games showed anything similar to loading screen -- most of them just didn't start at all). But the most problematic thing was its slowness. Even small almost static ads brought entire Firefox to its knees. I am looking forward for this project, but I really hope the developers will solve the performance problems before shipping it in stable Firefox.
- sabret00the 13y agoA lot changes in a month in terms of software development. Try it again and let us know if it still sucks by your standards.
- trycatch 13y agoI've compiled new version from git, but still literally nothing except ads work. I've tried various games from Kongregate, Armor Games and Newgrounds, including very old ones, various sites with Flash video, various sites with Flash charts -- nothing. And there are still very serious slowdowns even if Shumway is not on screen.
- captainmuon 13y agoSame thing here. I can't run silly stick man games from ~2004 on my laptop I bought 3 years ago with this. Just like PDF.js, it's brilliant on my desktop, but unusable on my trusty old netbook (that could do this things prefectly well with native code).
- Ygg2 13y agoWhile I love the concept, I don't think Shumway is ready for prime time. It doesn't work on Kongregate, last time I tried, which is the largest flash based game site there is. Youtube works nicely, but overall, unless both Flash games and videos are supported, I doubt it should be shipped.
- Doctor_Fegg 13y agoThis is great. It effectively makes ActionScript 3 into YALTCTJS; Yet Another Language That Compiles To JavaScript, just like CoffeeScript and TypeScript. In particular, AS3 is strongly typed; you could say it puts the Java into JavaScript. It has (had?) a large developer community, and there's a lot of good code for it out there already. I quite enjoy programming it, though the endless reliance on EventListeners is a PITA. Mind you, Flex (the UI framework) genuinely does deserve to eat flaming death. I'm convinced Adobe were trolling Apache by donating it to them.
- Marazan 13y agoWhile it has a number of poor implementation choices under the hood Flex was simply miles ahead of any competing tech for doing Rich Internet Applications 5 years ago. It's still ahead even now, just not so decisively.
- zem 13y agohave you used haxe? it was positioning itself as a viable actionscript replacement back when actionscript was relevant, and it already compiles to javascript (and a bunch of other useful platforms).
- willvarfar 13y agoThis is excellent for security. In the same way that Mozilla's PDF.js does PDF rendering in-browser and in-sandbox, doing SWF rendering in-browser and in-sandbox makes the security nightmare that is Flash go away. ADDED: Mozilla blogging about security benefits of PDF.js, which apply here too to http://andreasgal.com/2011/06/15/pdf-js/ http://andreasgal.com/2011/06/15/pdf-js/
- Tloewald 13y agoIgnoring flash does an even better job.
- richardjs 13y agoSure, and not browsing the Web at all is even safer. But it's nice to see developments that make insecure technologies more secure.
- Tloewald 13y agoWell, we assume it's more secure than simply running Flash, but we don't know. In fact it increases the overall attack surface since now there's bugs in Adobe's implementation and bugs in this implementation to exploit. Let's suppose we believe our site to be secure because we've tested it on Windows and Mac and checked the flash doesn't cause issues, and we've tested it on mobile and the flash simply doesn't work. Now we need to test all over again. Consider, for example, JPEG injection bugs. There are JPEGs embedded inside Flash content that are now being parsed by different code.
- willvarfar 13y agoWell this is counter to my understanding. As shumway - like PDF.js - is ultimately using the exact same rendering engine and scripting engine via the same interface and in the exact same way as the HTML pages are already exposing, the attack surface just got massively smaller. If there is a jpeg injection bug, its a bug in the browser proper.
- chrismonsanto 13y agoDoes this mean the FSF can cross off 'free flash player' from their high priority list? What will happen to Gnash?
- broodbucket 13y agoI'm guessing something like HURD, some people will still work on it but it won't be the focus of anything. I haven't had any success with Gnash, it can (choppily) play YouTube (which now has HTML5) and nothing else worked.
- Bill_Dimm 13y agoYouTube (which now has HTML5) Sadly, YouTube videos that have embedded ads seem to be Flash-only.
- broodbucket 13y agoYou can still watch them with HTML5 using this addon for Firefox: https://addons.mozilla.org/en-us/firefox/addon/youtube-all-html5/ https://addons.mozilla.org/en-us/firefox/addon/youtube-all-h... I'm assuming there's a Chrome equivalent. I've completely disabled Flash in my browser now. Feels good.
- Jasper_ 13y agoRob Sayove, the Gnash lead, was at the GNU 30th, and he's said he's basically done with Gnash. There's going to be an upcoming release, and then it's done. He was a bit concerned about the state of Flash, but Shumway gave him some hopes for the future. (I am also a Shumway contributor)
- zeckalpha 13y agoThis isn't GPL, so I'm assuming work will go on.
- davexunit 13y agoIt is Apache v2 licensed, which means that Shumway is free software. So, if Shumway functions adequately then I imagine that the FSF will consider the task complete. Believe it or not, the FSF and the GNU project don't demand that everything be GPL licensed.
- CmonDev 13y agoThis is beautiful! There will be less need to move small casual games to HTML5, so hopefully Flash developers will be a bit happier.
- captainmuon 13y agoI wonder whether this supports all the simple animation features that made flash big back in the day (like vector animation, tweening, etc.). When people say HTML5+js is the replacement for Flash, they usually think about video players and ActionScript apps. I also wonder, if you go through all the trouble of creating a new flash implementation, why do it in HTML+js? Why not in native code on top of a cross-platform library, such as Skia or Qt? Security is one issue, but if you start a new project you can plan for security from the start and effectively rule out buffer overflows etc. with the right programming practices. Also all modern OSes have ways to sandbox applications. I'd very much rather have my code in small, auditable, removable plugins than put everything and the kitchen sink in the browser. Sure, you prevent buffer overflow exploits by using a well tested JS engine, but you get a load of other possible bugs that you wouldn't have if the plugin were in a separate process (DoS/hanging the browser, information leakage, cross origin scripting, etc.).
- ddd1600 13y agoSo does this allow me to look at flash on iphone...?
- cheeaun 13y agoSo if I install the extension, do I need to disable Flash plugin on Firefox?
- cpeterso 13y agoYou don't need to install the Shumway extension if you are running Firefox Nightly builds and flip the "shumway.disabled" pref in about:config. Shumway will try to load embedded Flash content and show a little "Shumway X" button that you use to fall back to Adobe's Flash Player instead.
- kapowaz 13y agoWhy do we need this? The way that Flash has diminished in significance since high-quality browsers on smartphones and tablets emerged is a good thing. The web is better with Flash gone completely, not dragged along through compatibility layers.
- ramy_d 13y agoanimation tools. Edit: Users Wintamute and biot have solid replies as well.
- davidcollantes 13y agoCompletely agree. This will just bloat more whatever browser is implemented.
- Jasper_ 13y agoFirst of all, good old backwards compatibility. There's large codebases still written in Flash, or perhaps things that are in Flash that will never get updated ever again (browser games being a big one), and people would like them to work even after Adobe's dropped out. It also turns out that reimplementing Flash in HTML5 gives you a great idea of what's missing if you want to tell developers to just use HTML5. There has been quite a lot missing from the web standards that Shumway helped pushed through.
- kapowaz 13y ago> First of all, good old backwards compatibility. There's large codebases still written in Flash, or perhaps things that are in Flash that will never get updated ever again (browser games being a big one), and people would like them to work even after Adobe's dropped out. It's a fair point that wanting to retain the ability to run this content after there is no (working) Adobe plugin is desirable, but is the browser the best place for this? We don't demand that each version of an operating system is able to run all old application software for that OS; the preferred way of being able to do this is through virtualisation, and I'd argue that's probably a better way to do this, too. > There has been quite a lot missing from the web standards that Shumway helped pushed through. …such as? (I'm genuinely interested; I wasn't aware of this)
- davexunit 13y agoHow did Mozilla get around Adobe's oppressive EULA that forbids reverse engineering? This is a major obstacle of the Gnash project. They developers cannot install Flash, because to do so would make their work illegal.
- Jasper_ 13y agoThey dropped that a long time ago with the OpenScreenProject licensing.
- shmerl 13y agoHow about video decoding? Can it rely on gstreamer for codecs support?
- Pxtl 13y agoSo when ActionScript is compiled to JS, do they mean it's actually pure JS, or is this getting converted into ASM.JS? Historically, a big appeal of Flash vs. JS has been performance - ActionScript is an ugly language, but it's statically typed. And JS/canvas/whatever historically haven't been too efficient at moving vectored objects around the screen. Then again, a the factor in Flash's favour isn't the run-time, its' the development workflow.
- mbebenita 13y agoShumway compiles ActionScript bytecode to JavaScript source. It cannot target ASM.JS because not all ActionScript code is typed. The goal of Shumway is to identify what is missing from the web platform and fix it, so we're working on improving graphics performance.
- saejox 13y agoI removed Acrobat Reader from my computer after PDF.js. This has the same potential. Although it's vm is implemented in pure js, not even asm.js. It may never hit the 'good enough' performance levels.
- jaredsohn 13y agoThis is great step for allowing more user control / detection over sound within Firefox. I recently open sourced MuteTab (http://www.github.com/jaredsohn/mutetab http://www.github.com/jaredsohn/mutetab). If MuteTab were to also work on Firefox (it builds with OpenForge right now), it should be possible to get audio indicators working within Firefox, at least for HTML5 audio/video and for Flash that is supported by Shumway. Although perhaps a native implementation of what I just described is in the works.
- codereflection 13y agoFlash is dead! Long live Flash! I've been hoping this was going to get pulled into Firefox soon. Honestly the sooner the better.
- dgesang 13y agoWhen will all that hate for Flash finally come to an end? It's growing old and boring.