@latest-thinking/lt-player 1.0.6-a → 1.0.6

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.6-a",
3
+ "version": "1.0.6",
4
4
  "description": "LT player.",
5
5
  "main": "dist/js/lt-player-main.js",
6
6
  "module": "dist/js/lt-player-main.js",
@@ -109,13 +109,14 @@ export class LTPlayerCommon {
109
109
  onReadyPlayer() {
110
110
 
111
111
  //set share button
112
- if (this.player.playerConfig.getShareData()) {
113
- this.player.share.events.desktop.init(this.player);
114
- }
112
+ this.player.share.events.desktop.init(this.player);
115
113
 
114
+ // this.player.windowService.init(this.player);
116
115
  //set poster
117
116
  this.player.posterManager.mobileEvents.onload(this.player);
118
117
 
118
+
119
+
119
120
  if (this.player.playerConfig.isAutoPlay()) {
120
121
  let playerContainer = this.player.plyr.elements.container;
121
122