An overlay is something you place on top of the video. Things like a station logo (bug), or a set of buttons or contextual information.
- Knowledge of HTML
- The "Pro" version of the player
The station logo can be enabled with just one function
player.enableStationLogo(image, width_percentage, opacity).
image parameter is required. Others are optional, defaults are
width_percentage 25 and
If you want to remove it, you can call the
player.disableStationLogo() function. It does not take any arguments.
to the video, and it will be relative to the video. So all is relative to the exact size of the video on the screen.
The function to call is:
And remove it again with the
overlay.remove() function. This is the reason you had to save the reference.