Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

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

1 Community Answers

Heidi

JW Player Support Agent  
0 rated :

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; }

This question has received the maximum number of answers.