minznerjosh / vast-player

Playback VAST creatives in a web browser.
MIT License
45 stars 32 forks source link

Hot to set withCredentials on xhr object? #2

Closed dmitry-dedukhin closed 7 years ago

dmitry-dedukhin commented 7 years ago

Hi!

Seems there is no any possibility to send cookies when requesting vast link?

minznerjosh commented 7 years ago

Hello!

Requests are made by vastacular on this line: https://github.com/cinema6/vastacular/blob/master/lib/VAST.js#L440

I will gladly accept a PR that adds support for sending cookies. Cheers! 🍻