Live data from Hacker News

Google is banning Flash from its display ads

theverge.com

21–30 of 148 posts

Re: Google is banning Flash from its display ads

#21
I suppose this means dropping it altogether (like from Chrome) can't be too far away.

My only regret with that would be that we use flash as a way to allow one-button copy to the clipboard (using this http://zeroclipboard.org/).

We had tried non-flash solutions, but none of them worked.

This sounds like it might work https://clipboardjs.com/, so I guess I'll be adding a backlog item to look at it.

Re: Google is banning Flash from its display ads

#22
post #8

One thing HTML5 lacks is the ability to combine all assets into one file. This makes Flash particularly handy for advertisements. Safari almost got there with its .Webarchive format, and Mozilla experimented with a file format but it didn't get anywhere.

Isn't that mostly moot with HTTP 2.0 multiplexing?

Almost. Compressing all of the files into one archive often results in a smaller file overall. This might work a little differently with brotli, which uses a precomputed dictionary.

The advantage of keeping the files separate is that it allows for procedural rendering. Multiplexing gives this a boost by allowing your client to fetch a lot of files at the same time.

Re: Google is banning Flash from its display ads

#23
post #19

How can they continue to allow "video ads built in flash"? Isn't a video flash just like any other .swf, that happens to use the NetConnection, NetStream and Video classes? Or will they supply the .swf part and the advertisers just the .flv/.mp4 part? Also, what's to stop a "html5 ad" from inlining swfobject.js? They've fallen for malvertising before, so how could they not fall for an obfuscated swfobject.js? :)

I think there's a lot of confusion in terminology here.

"html5 ad" may mean "videos in formats supported by html5 video tag"

"video ads built in flash" may mean ".flv in our own player", but also "we're going to unpack your .swf and strip anything apart from "

Also "From January 2nd next year, Flash ads won't run" does match up with "Google says that Flash video ads aren't included in the cull "at this time.""

The article is pretty confusing though...

Re: Google is banning Flash from its display ads

#26
post #21

I suppose this means dropping it altogether (like from Chrome) can't be too far away. My only regret with that would be that we use flash as a way to allow one-button copy to the clipboard (using this http://zeroclipboard.org/ ). We had tried non-flash solutions, but none of them worked. This sounds like it might work https://clipboardjs.com/ , so I guess I'll be adding a backlog item to look at it.

I use that feature a lot, surely they can't all be Flash based.

Re: Google is banning Flash from its display ads

#28
post #8

One thing HTML5 lacks is the ability to combine all assets into one file. This makes Flash particularly handy for advertisements. Safari almost got there with its .Webarchive format, and Mozilla experimented with a file format but it didn't get anywhere.

Doesn't seem like it would be very difficult to parse a zip file from a typed array (fetched with binary Xhr) and pull out images files, video files, etc. This has probably already been done but I can't find a project presently.

Re: Google is banning Flash from its display ads

#30
post #26
post #21

I suppose this means dropping it altogether (like from Chrome) can't be too far away. My only regret with that would be that we use flash as a way to allow one-button copy to the clipboard (using this http://zeroclipboard.org/ ). We had tried non-flash solutions, but none of them worked. This sounds like it might work https://clipboardjs.com/ , so I guess I'll be adding a backlog item to look at it.

I use that feature a lot, surely they can't all be Flash based.

Flash used to be the only thing that worked, cross-browser.

Chrome, I know for sure, changed their minds several times on whether they would allow it...security model thing, you could make it work only by tweaking some internal chrome setting.

The sales pitch at https://clipboardjs.com/ makes it sound like perhaps things have changed enough that a reasonable cross-browser solution is possible now.

Post reply on HN