Let's say you have a HTML5 <video>
element with an MP4 video source:
#video { width: 400px; }
#text { font-size: 30px; background-color: yellow; }
<video controls id="video"><source src="https://samplelib.com/lib/preview/mp4/sample-5s.mp4">
<span id="text">Hello world</span>
</video><br>
<button>Export</button>
The <span>
here is invisible, is there a way to make it visible on top of the video canvas, such that we can export the video + text as a new MP4 (rendered) video?
I can imagine this is nowadays included in some browser API, without the need of an external library, is it correct?