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

Can I use the ads components in a self-hosted Premium version of JWPlayer?

I want to simply run custom pre-rolls, and the best option is the ads system since it forces the user to view it before the video. There's nothing I've read that indicates whether the self-hosted verison of the player supports ads. Can you confirm? Also, you seem to use different code examples in various places on your documentation. Where can I find current version examples of both VAST sample files as well as the JavaScript object for the advertising section of the options?

1 Community Answers


JW Player Support Agent  
0 rated :

Ads will work with a self-hosted player, but you would need to upgrade to an Ads license in order to add the ad tags.

You can see the Javascript syntax for the advertising block at There is also an Advertising section in our API reference document at

We have a sample VAST tag at
but you can also refer to the IAB VAST standard at

This question has received the maximum number of answers.