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

Ad CORS issue if using .load method

We are using pre-roll ads for publishing videos with JWPlayer. These work fine if used via HTML5 or Flash for a single video - the page header is set up fine with "Access-Control-Allow-Origin" and the external AdServer's VAST tags are CORS compliant. So, no CORS issue at all.

But trying to start a different video (from playlist) via API's .load() method for the main video object, results in an CORS error message, and the Ad will not load. The Video itself plays fine.

We use the recommended js-method for this

function loadVideo(myFile,myImage) {
file: myFile,
image: myImage

How do we solve this issue?


1 Community Answers

Cooper Reid

JW Player Support Agent  
-1 rated :

Hi Ralph,

Can you please provide a link so we can troubleshoot your issue?


This question has received the maximum number of answers.