Just put another HTML element, like a div, in front of the video element.
You can use JS to get a list of all annotations from your DB, then generate the HTML element on the fly when the video element plays a certain time-span. Use CSS to push the annotation to the position you need.