Since you're using VideoJS then you'll have a <video>
tag involved.
(1) Make a <div>
as container for both the <span>
text element and also <video>
element.
(2) Give the text an ID and a higher layer position (through z-index
in the tag setup).
Also set the position: absolute
for allowing to set X and Y positions easily.
example:
<span id="myText" style="z-index: 2; position: absolute; top: 0px; left: 0px"> your text here </span>
(3) Animate the text position by changing the top
and left
in tag setup via JavaScript.