Skip to main content

How to add text on video player while video is playing


1 comment

  • Bane

    Hi Haider,

    I would suggest using CSS on the field you are using for that.

    If you are using JS SDK that would be quite simple to do.

    For example:

    <div class="placeholder">    <ziggeoplayer></ziggeoplayer>
    <span class="username">Haider</span>

    could easily be added to be over player by doing something as simple as:

    .placeholder {
    position: relative;
    .username {
    position: absolute;
    bottom: 100px;
    right: 20px;

    Of course exact location would be completely up to you, the above should place the username somewhere in the bottom right corner of your player, somewhere above the controls.

    If you are not using JS SDK then it might require some other way of setting it up.


Please sign in to leave a comment.