Re:HTML Attributes vs. DOM Properties
by jaffathecake on Thursday April 25, 2024 @03:38AM
(#40154606)
Event listeners? Image data?
[ Parent
| on HN ]
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...