@clappr/hlsjs-playback 1.7.4 → 1.8.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clappr/hlsjs-playback",
3
- "version": "1.7.4",
3
+ "version": "1.8.1",
4
4
  "description": "HLS Playback based on hls.js",
5
5
  "main": "./dist/hlsjs-playback.js",
6
6
  "module": "./dist/hlsjs-playback.esm.js",
@@ -42,7 +42,7 @@
42
42
  "devDependencies": {
43
43
  "@babel/core": "^7.14.2",
44
44
  "@babel/preset-env": "^7.14.2",
45
- "@clappr/core": "^0.11.4",
45
+ "@clappr/core": "^0.11.5",
46
46
  "@rollup/plugin-babel": "^5.3.0",
47
47
  "@rollup/plugin-commonjs": "^19.0.0",
48
48
  "@rollup/plugin-node-resolve": "^13.0.0",
@@ -75,5 +75,5 @@
75
75
  }
76
76
  }
77
77
  },
78
- "gitHead": "8752995ea439321ac7ca3cd35e8c64de7a3c3d17"
78
+ "gitHead": "f291a90e1493a9bfb4207d499f530b7b164256a9"
79
79
  }
package/src/hls.js CHANGED
@@ -44,6 +44,10 @@ export default class HlsjsPlayback extends HTML5Video {
44
44
  return this._hls.latency
45
45
  }
46
46
 
47
+ get liveSyncPosition() {
48
+ return this._hls.liveSyncPosition
49
+ }
50
+
47
51
  get currentProgramDateTime() {
48
52
  return this._hls.playingDate
49
53
  }