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

Can I choose what video ad will be played?

Hello, can I choose witch video ad pre-roll will played?
We have sponzors and they have video commerical and they want it to play before our videos. I know I can choose when ads is played but I dont know if I can play video ad witch I want to.


1 Community Answers

Daniel Berger

JW Player Support Agent  
0 rated :


You can implement an ad tag like this:

var playerInstance = jwplayer(‘myElement’);
file: ‘assets/myVideo.mp4’,
primary: ‘flash’,
advertising: {
client: ‘vast’,
tag: ‘//’ /This is the specific ad tag/

For more context:

Also, please be aware that you have to have an account that is entitled with ads:

This question has received the maximum number of answers.