News for hackers. Stuff that matters.
Re:HTML Attributes vs. DOM Properties by jaffathecake on Thursday April 25, 2024 @03:38AM (#40154606)
Event listeners? Image data?
Re:HTML Attributes vs. DOM Properties by runarberg on Thursday April 25, 2024 @12:26PM (#40159541)
element.srcObject is very useful for <video> elements when the srcObject is a direct stream feed from the camera. I don’t even know how I would go about passing that as a string attribute.

https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaEl...