
Error "There was an error calling back an event handler"
We've paid for Ads version and then created test.html:
bc.. <html>
<head>
<script src="http://jwpsrv.com/library/*Player*.js"></script>
</head>
<body>
<div id='my-video'></div>
<script type='text/javascript'>
jwplayer('my-video').setup({
file: 'http://content.bitsontherun.com/videos/lWMJeVvV-364767.mp4',
image: 'http://www.longtailvideo.com/content/images/jw-player/lWMJeVvV-876.jpg',
width: '640',
height: '360',
primary: 'html5',
advertising: {
client: 'vast',
schedule: {
preroll: {
offset: 'pre',
tag: 'http://asg.vidigital.ru/1/176/c/v/2?i=[random]'
},
postroll: {
offset: 'post',
tag: 'http://asg.vidigital.ru/1/179/c/v/2?i=[random]',
}
}
}
});
</script>
</body>
</html>
When we run it, browser doesn't show advertise to me or show error "There was an error calling back an event handler".
What did we do wrong?