Re:HTML5 still doesn't replicate what mattered about Flash
by recursive on Wednesday December 30, 2020 @09:54PM
(#25589076)
That point is very curious, since you actually can email someone an .html file, and it will "just work".
[ Parent
| on HN ]
Re:HTML5 still doesn't replicate what mattered about Flash
by AnIdiotOnTheNet on Thursday December 31, 2020 @12:02AM
(#25589759)
When was the last time you saw a web app that was a single html file and nothing else?
Re:HTML5 still doesn't replicate what mattered about Flash
by recursive on Thursday December 31, 2020 @12:26AM
(#25589865)
Around the same time I saw a web app that was a single SWF file that you could email. I do see tech demos in that form factor though. Or at least they could easily be.
Re:HTML5 still doesn't replicate what mattered about Flash
by josefx on Thursday December 31, 2020 @05:38AM
(#25591484)
With resources embedded in the highly "compressed" base64 encoding. Quite a few email services will probably block those html files just because they end up stupidly large unless your content is text only and doesn't include half a dozen java script frameworks to manage basic animations.
Re:HTML5 still doesn't replicate what mattered about Flash
by Olreich on Thursday December 31, 2020 @09:39AM
(#25593023)
Those same email services blocked SWF files too because they were dangerous. This is no different.
As for size, browsers really should allow gzip encoding for html files from your desktop. Would pack all the inlined crap down to a reasonable size and then you could transfer things around better.
Re:HTML5 still doesn't replicate what mattered about Flash
by dsego on Thursday December 31, 2020 @05:13AM
(#25591341)
Not if it has local dependencies, like js or css, then you would need to bundle those as well, in an archive perhaps.
Re:HTML5 still doesn't replicate what mattered about Flash
by krapp on Thursday December 31, 2020 @05:16AM
(#25591356)
You can include js and css in the same html file, between <script> and <style> tags.
Re:HTML5 still doesn't replicate what mattered about Flash
by dsego on Thursday December 31, 2020 @01:59PM
(#25595833)
Duh, that's if I build the page myself and I know how to code html. Even then it's not trivial in the sense that it will "just work".
Re:HTML5 still doesn't replicate what mattered about Flash
by recursive on Thursday December 31, 2020 @10:13PM
(#25600482)
What could possibly cause it not to work?
Re:HTML5 still doesn't replicate what mattered about Flash
by dsego on Friday January 01, 2021 @06:00AM
(#25602377)
A grandma saving a html page and sending it via email without having to edit the html.