@grfzhl/vue-hls-player 1.1.12 → 1.1.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -207,6 +207,9 @@ At the moment the following attribute are supported:
207
207
  ```
208
208
 
209
209
  ### Last release:
210
+ v1.0.13 - v1.0.14
211
+ - update the hls.js package
212
+
210
213
  v1.0.12
211
214
  - added component property to make it easier adding headers (like Authorization header into every hls request)
212
215
 
@@ -119,7 +119,7 @@ const props = defineProps({
119
119
  additionHeaders: {
120
120
  type: Object,
121
121
  default: {}
122
- }
122
+ },
123
123
  /**
124
124
  * array of object, for
125
125
  * subtitles to append:
@@ -400,7 +400,7 @@ function prepareVideoPlayer(link) {
400
400
  init = init || {};
401
401
  init.headers = new Headers(init.headers || {});
402
402
  // set headers
403
- for (const [key, value] of Object.entries(props.headers)) {
403
+ for (const [key, value] of Object.entries(props.additionHeaders)) {
404
404
  init.headers.set(key, value);
405
405
  }
406
406
  return new Request(context.url, init);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@grfzhl/vue-hls-player",
3
3
  "private": false,
4
- "version": "1.1.12",
4
+ "version": "1.1.14",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist"
@@ -25,7 +25,7 @@
25
25
  "author": "Oliver Schörwerth",
26
26
  "license": "MIT License",
27
27
  "dependencies": {
28
- "hls.js": "^1.5.19",
28
+ "hls.js": "^1.6.13",
29
29
  "player.style": "^0.1.1"
30
30
  }
31
31
  }