
Disable control bar while ad is playing
Hi,
I want to disable the control bar in jwplayer just ad is playing. when ad finish enable the controlbar for video.
Thanks
Hi,
I want to disable the control bar in jwplayer just ad is playing. when ad finish enable the controlbar for video.
Thanks
You will want to use jwplayer().on(‘adPlay’) from our Advertising API (please note the API only works for VAST ads): https://developer.jwplayer.com/jw-player/docs/developer-guide/api/javascript_api_reference/#advertising
You can hide the player control bar using CSS class .jw-controls { display: none; }