add section in README re:withCredentials
Showing
1 changed file
with
13 additions
and
0 deletions
... | @@ -49,6 +49,19 @@ support for: | ... | @@ -49,6 +49,19 @@ support for: |
49 | - Segment codecs _other than_ H.264 with AAC audio | 49 | - Segment codecs _other than_ H.264 with AAC audio |
50 | - Internet Explorer < 10 | 50 | - Internet Explorer < 10 |
51 | 51 | ||
52 | ### Plugin Options | ||
53 | |||
54 | You may pass in an options object to the hls plugin upon initialization. This | ||
55 | object may contain one of the following properties: | ||
56 | |||
57 | #### withCredentials | ||
58 | Type: `boolean` | ||
59 | |||
60 | When the `withCredentials` property is set to `true`, all XHR requests for | ||
61 | manifests and segments would have `withCredentials` set to `true` as well. This | ||
62 | enables storing and passing cookies from the server that the manifests and | ||
63 | segments live on. | ||
64 | |||
52 | ### Runtime Properties | 65 | ### Runtime Properties |
53 | #### player.hls.master | 66 | #### player.hls.master |
54 | Type: `object` | 67 | Type: `object` | ... | ... |
-
Please register or sign in to post a comment