
CORS issue when using hosted video as a pre-roll
Hi
First I've uploaded a video to my account.
Then I get its url (like http://content.jwplatform.com/videos/ftHaI1nN-N3Pdko1L.mp4) and created a vast3.0 tag. Its relative part is:
<VASTAdTagURI>
<![CDATA[
//content.jwplatform.com/videos/ftHaI1nN-N3Pdko1L.mp4
]]>
</VASTAdTagURI>
Then I tried to use it as a pre-roll in jw setup.
But when I checked the console log there was an error: "XMLHttpRequest cannot load http://content.jwplatform.com/videos/ftHaI1nN-N3Pdko1L.mp4. A wildcard '*' cannot be used in the 'Access-Control-Allow-Origin' header when the credentials flag is true. Origin 'http://ui.globalmedia.exchange' is therefore not allowed access." So the video was not played obviously.
Is there any workaround to play a hosted video as a pre-roll?
Thanks.