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

REOPEN: withCredentials with vast client

Hi Group,

as is closed, I have to open a new thread!

In this thread there is a way described to workaround the problem with cookies and vast server. But the solution described in there does not work in some browsers!!!

"Just search for this code:

var g=j=new f.XMLHttpRequest,t=a;j.onreadystatechange=function(){if(4===g.readyState)switch(g.status){case 200:alert(b+"--"+d+"--"+k);l(g,t,b,d,k)();break;case 404:d("File not found")}}

add j.withCredentials = true; just before j.onreadystatechange=function()"

1) If you use IE11 on Windows 8, the browser throws an exception, that "withCredentials" is set in the wrong state! So you have to search for:"GET",a,!0),j.send()

and insert it here"GET",a,!0),j.withCredentials=true,j.send()

in this case it works also on IE11.

2) The "bigger" problem I have is, that this function is used not only for vast, but also for loading the skin file. Now, if you have "Access-Control-Allow-Origin" set to "*" on the server that hosts the skin file, some (newer) versions of firefox block loading the skin file, and no video is played.

I am looking for a solution for this (maybe an additional parameter for the function that loads the files), as soon as I figured out what to do here, I will add the solution here


3 Community Answers

Ethan Feldman

JW Player Support Agent  
0 rated :

This will be fixed for 6.9.


0 rated :

Hi Ethan!
When will 6.9 be released?
Regards Robert

Ethan Feldman

JW Player Support Agent  
1 rated :

End of May is what we are aiming for.

This question has received the maximum number of answers.