@latest-thinking/lt-player 1.0.4-i → 1.0.4-j

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.4-i",
3
+ "version": "1.0.4-j",
4
4
  "description": "LT player.",
5
5
  "main": "dist/js/lt-player-main.js",
6
6
  "module": "dist/js/lt-player-main.js",
@@ -60,6 +60,7 @@
60
60
  "eslint-webpack-plugin": "^3.1.1",
61
61
  "sass": "^1.60.0",
62
62
  "sass-loader": "^13.2.2",
63
- "webpack": "^5.76.3"
63
+ "webpack": "^5.76.3",
64
+ "plyr": "^3.7.3"
64
65
  }
65
66
  }
@@ -52,8 +52,8 @@
52
52
  // 5. Additional imports
53
53
  //---------------------------------------------
54
54
 
55
- @import "~plyr/dist/plyr.css";
55
+ @import "~plyr";
56
56
 
57
57
  :root {
58
58
  --plyr-color-main: $default_color_player;
59
- }
59
+ }
@@ -147,6 +147,7 @@ export class LTPlayerDesktop extends LTPlayerCommon implements EventsInterfaces
147
147
  common.timeUpdate(event);
148
148
  if (instance.playerConfig.getPreload().isActive) {
149
149
  common.preloadPoster.timeUpdate(instance, 'event');
150
+ instance.playerControl.desktopEvents.playPauseIcon(instance, 'timeupdate');
150
151
  }
151
152
  })
152
153
  }
@@ -130,7 +130,7 @@ export class LTPlayerMobile extends LTPlayerCommon implements EventsInterfaces {
130
130
  }
131
131
 
132
132
  eventManager.timeUpdate(event);
133
-
133
+ instance.playerControl.desktopEvents.playPauseIcon(instance, 'timeupdate');
134
134
  instance.playerControl.mobileEvents.removePlyrControlsClass(instance);
135
135
  })
136
136
  }
@@ -38,7 +38,7 @@
38
38
  <!-- <p class="poster-paragraph">{{videoTitle}}</p>-->
39
39
  <!-- </div>-->
40
40
  <!-- </div>-->
41
- <div class="lt-player-notification__notification-button-state d-none">
41
+ <div class="lt-player-notification__notification-button-state">
42
42
  <div class="player-state">
43
43
  <img class="player-state__play-icon filter d-none" src="{{icons.play}}" alt="">
44
44
  <img class="player-state__pause-icon filter" src="{{icons.pause}}" alt="">