
programatically stopping an Ad playing
Hi,
I am integrating with jwplayer and VAST
is there a way to stop the player while an ad is playing ?
jwplayer().stop() does not seem to stop the ad playing, it seems it only stop the video content (bkaovAYt-640.mp4)
jwplayer("container1").setup({
image: "http://s1-www.ltvimg.com/cdn/farfuture/A4Ot5zIiiX6I0zhJTvqF9xyAg6frFcAuXu3YpmtQUzc/mtime:1388777784/sites/default/files/vast-preoll.png",
file: "http://content.bitsontherun.com/videos/bkaovAYt-640.mp4",
primary: 'flash',
advertising: {
client: "vast",
}
});
// start the ad now
_getVideoPlayer().playAd('http://demo.jwplayer.com/player-demos/assets/preroll.xml');
// from a button:
jwplayer("container1").stop()
thanks!