News for hackers. Stuff that matters.
Re:Show HN: Map of active customers for landing page by ziolko on Monday April 05, 2021 @02:03AM (#26695785)
I considered this, but it doesn't add much value for my primary use case (landing page).

While doing this I've learned that one can embed a <script> tag into SVG so this can implemented this way. Scripts run if the SVG is added to the page with <embed> or <object> tag, but not with the <img> tag. This opens a possibility of "graceful degradation" where the SVG uses live streaming where possible with a static fallback.

There are no comments on this comment yet.