News for hackers. Stuff that matters.
Re:Windows 8’s Flash whitelist goes black, turns on Flash al... by nivla on Tuesday March 12, 2013 @12:54AM (#5360261)
As much as I want to be on the ditch Flash bandwagon, I can't. Reality hits hard, trivial things that gets done using Flash is impossible or requires a lot of workarounds when implemented in pure html/javascript.

A few weeks back I was looking for a Javascript or HTML5 implementation for those bitly style "copy URL to clipboard" function. It just doesn't exist without flash (except in older versions of IE)! There are --webkit only implementations for grabbing things from a clipboard but not for pasting to it and I thought the former was more of a security issue.

Another thing I noticed is a smooth flash animation on my low powered Netbook looks like a jitter mess when implemented in canvas.

Until these issues are resolved, sadly flash isn't going anywhere soon.

Re:Windows 8’s Flash whitelist goes black, turns on Flash al... by afhof on Tuesday March 12, 2013 @03:29AM (#5360700)
We're spoiled with Flash's mature functionality. HTML5 video and audio are still too early in their life cycles to supplant flash. HTML5 also lacks a good way to package a lot of files together into a single one like .sfw's do. I always imagine what it would be like to try and convert a website thats is made up of almost all flash like Newgrounds over to HTML5. Until there is an easy conversion path, flash will live on.
Re:Windows 8’s Flash whitelist goes black, turns on Flash al... by huskyr on Tuesday March 12, 2013 @07:43AM (#5361229)

  > HTML5 video and audio are still too early in their life cycles to supplant flash.
What are you missing? I've been working with HTML5 video/audio for a few years and features are on par now with Flash on all major browsers. It's a pity Firefox doesn't support H264/MP3, but that will change in the near future.
Re:Windows 8’s Flash whitelist goes black, turns on Flash al... by brokenparser on Tuesday March 12, 2013 @04:58PM (#5364827)
features are on par now with Flash on all major browsers

So can we publish an H.264 and Speex encoded stream using a local webcam as the source over WebRTC or RTMP in all major browsers yet?

Right, wake me up when they do.

Re:Windows 8’s Flash whitelist goes black, turns on Flash al... by robmcm on Tuesday March 12, 2013 @08:10AM (#5361338)
I am guessing DRM
Re:Windows 8’s Flash whitelist goes black, turns on Flash al... by TazeTSchnitzel on Tuesday March 12, 2013 @04:11AM (#5360781)
> HTML5 also lacks a good way to package a lot of files together into a single one like .sfw's do

What? Data URIs, style and script tags.

Re:Windows 8’s Flash whitelist goes black, turns on Flash al... by robmcm on Tuesday March 12, 2013 @09:02AM (#5361512)
Google's closure tools can compile JS into a single file, and can also target runtimes to remove redundant code.

I imagine you could get away with a single html and js file.

Images could be converted to binary too in theory, I think the Cappuccino guys got something like this going.

Also check out the packaged files you create for Chrome store.

Re:Windows 8’s Flash whitelist goes black, turns on Flash al... by TazeTSchnitzel on Tuesday March 12, 2013 @11:56AM (#5362612)
You don't need a separate JS file, there are script tags.
Re:Windows 8’s Flash whitelist goes black, turns on Flash al... by anonymfus on Tuesday March 12, 2013 @06:38AM (#5361071)
This is a bad way because you loose semantic of file separation. Better way is MHT, but it was supported only in IE and Opera.
Re:Windows 8’s Flash whitelist goes black, turns on Flash al... by nwh on Tuesday March 12, 2013 @01:55AM (#5360474)
> here are --webkit only implementations for grabbing things from a clipboard but

Seriously‽ That's crazy insecure, though I can't find any more information about it.

Re:Windows 8’s Flash whitelist goes black, turns on Flash al... by masklinn on Tuesday March 12, 2013 @06:28AM (#5361046)
Generally in "HTML5", these interactions are only allowed during user-triggered clipboard events e.g. the developer can intercept a "paste" event and grab data from the clipboard (in order to try and get it under a different format or somesuch).