0
Please guys how can I add a tittle above a video, that's the tittle of the video will be on top of the video while playing
Video tittle
2 Réponses
+ 2
Collins Agofure an easy way is to do an overlay
<style>
.container { position:relative; }
.container video {
position:relative;
z-index:0; }
.overlay {
position:absolute;
top:0;
left:0;
z-index:1; }
</style>
<div class="container">
<video id="video" width="355" height="441" onclick="play();">
<source src="video url" type="video/mp4" />
</video>
<div class="overlay">
<p>Content above your video</p>
</div>
</div>
0
I really appreciate your response, I have added it and also some controls but the little issue here is what if it's multiple videos