This PR adds a withCredentials boolean property to the MediaPlayer component to allow the underlying VideoJS component to include cookies and auth info in its XHR requests. Requires that the server be configured to include the correct CORS headers to allow the browser to send credentials. These requirements are included in the documentation of the new property.
Resolves #575
This PR adds a
withCredentials
boolean property to theMediaPlayer
component to allow the underlying VideoJS component to include cookies and auth info in its XHR requests. Requires that the server be configured to include the correct CORS headers to allow the browser to send credentials. These requirements are included in the documentation of the new property.