@latest-thinking/lt-player 1.0.7-j → 1.0.7-l

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": "@latest-thinking/lt-player",
3
- "version": "1.0.7-j",
3
+ "version": "1.0.7-l",
4
4
  "description": "LT player.",
5
5
  "main": "dist/js/lt-player-main.js",
6
6
  "module": "dist/js/lt-player-main.js",
@@ -1,9 +1,3 @@
1
- .lt-player-portrate--mobile {
2
- .plyr {
3
- border-radius: 0;
4
- }
5
- }
6
-
7
1
  .lt-player-orientation--portrait {
8
2
  .plyr {
9
3
  iframe,
@@ -14,7 +14,16 @@ export class LTPlayerHls {
14
14
  this.instance = instance;
15
15
  this.config = instance.playerConfig;
16
16
  this.playerSettings = playerSettings;
17
- this.hlsInstance = new Hls();
17
+ this.hlsInstance = new Hls({
18
+ "enableWorker": true,
19
+ "lowLatencyMode": true,
20
+ "backBufferLength": 20,
21
+ "abrEwmaFastVoD": 1,
22
+ "autoStartLoad": true,
23
+ "abrBandWidthUpFactor": 0.95,
24
+ "maxMaxBufferLength": 15,
25
+ "abrEwmaDefaultEstimate": 50
26
+ });
18
27
  }
19
28
 
20
29
  init() {
@@ -3,7 +3,7 @@
3
3
  </div>
4
4
  {{/embedded}}
5
5
  {{#video}}
6
- <video class="embed_player lt-player-wrapper" playsinline controls>
6
+ <video class="embed_player lt-player-wrapper" playsinline controls crossorigin preload="none">
7
7
  <source src="{{videoUrl.videoUrl}}"/>
8
8
  {{#defaultConfig.captions}}
9
9
  <track kind="captions" label="{{label}} captions" src="{{url}}" srclang="{{srclang}}" {{default}} />