4 ms·
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 w
by nivla 14y ago
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.
- nwh 14y ago> 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.
- masklinn 14y agoGenerally 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).
- afhof 14y agoWe'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.
- TazeTSchnitzel 14y ago> 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.
- anonymfus 14y agoThis is a bad way because you loose semantic of file separation. Better way is MHT, but it was supported only in IE and Opera.
- robmcm 14y agoGoogle'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.
- TazeTSchnitzel 14y agoYou don't need a separate JS file, there are script tags.
- huskyr 14y ago> 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.
- robmcm 14y agoI am guessing DRM
- brokenparser 14y agofeatures 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.