Skip to content

Optionally set withCredentials on XHR requests

Created by: davemevans

Added a new API on MediaPlayer: setXHRWithCredentials. Pass it a boolean which is used to set XHR.withCredentials.

Defaults to false.

NOTE: I have not tested this on any browser other than to check it does not break anything when set to false which I have verified in Chrome at least. Could those who want this feature (@kamranhameedpl, @ShanePhelan etc) please pull locally and test across all UAs, OS etc. I would not recommend pulling this until we have some feedback.

Addresses #1006 (closed).

Merge request reports