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

How to pause spotxchange Ad and how to only play ads

I am loading spotxchange ad with jwplayer playlist please can you help me in following requirements:

1) How i can pause third party ad? I am able to pause jwplayer video but i can't pause ads (using code).
2) I use following code to load advertisement and playlist.
advertising: {client: 'vast', tag: tag}, playlist:playlist
But i just only want to display advertisement, i don't want to play any video after that so how can i do that?

To check demo please use following URL:

2 Community Answers


0 rated :


Unfortunately, it appears that most VPAID ads are not exposing full control to the JW Player wrapper.

This means that they can't be paused/muted using the JavaScript API.

It looks as though you are trying to do something like this - which works using a regular VAST ad:

But using the spotXchange Ad you get different results:

FYI: both examples were built with Tatami (in minutes!)

James Herrieven


JW Player Support Agent  
0 rated :

As James said, our player does not have control after a VPAID ad is loaded. It is up to the ad creator if the ad can be paused or not.

You must indicate a valid fie: ’’ URL in your JW Player setup. If you want to only show ads, my suggestion would be to use a half second blank MP4 as your video.

This question has received the maximum number of answers.