@latest-thinking/lt-player 1.1.0-i → 1.1.0-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.1.0-i",
3
+ "version": "1.1.0-j",
4
4
  "description": "LT player.",
5
5
  "main": "dist/js/lt-player-main.js",
6
6
  "module": "dist/js/lt-player-main.js",
@@ -20,8 +20,8 @@ export class ResizeService {
20
20
  playerType: string
21
21
  addInfo: LTPLayerAddInfoResizeManager
22
22
 
23
- addInfoOutSide: boolean
24
- addInfoInSide: Boolean
23
+ addInfoOutSide: false
24
+ addInfoInSide: true
25
25
 
26
26
  playerParam: defaultType = {
27
27
  width : null,
@@ -217,34 +217,37 @@ export class ResizeService {
217
217
  return;
218
218
  }
219
219
 
220
- if (containerWidth >= 380) {
221
-
222
- if (this.addInfoInSide && (containerWidth + 70 <= 380)) {
223
- return;
224
- }
225
-
226
- if (this.addInfoOutSide) {
227
- return;
228
- }
229
-
230
- this.addInfoOutSide = true;
231
- this.addInfoInSide = false;
232
-
233
- createAddInfoButtonsOutSide();
234
- } else {
235
-
236
- if (this.addInfoOutSide && (containerWidth + 70 >= 380)) {
237
- return;
238
- }
239
-
240
- if (this.addInfoInSide) {
241
- return;
242
- }
243
-
244
- this.addInfoInSide = true;
245
- this.addInfoOutSide = false;
246
- createAddInfoButtonsInSide();
247
- }
220
+ createAddInfoButtonsInSide();
221
+
222
+
223
+ // if (containerWidth >= 380) {
224
+ //
225
+ // if (this.addInfoInSide && (containerWidth + 70 <= 380)) {
226
+ // return;
227
+ // }
228
+ //
229
+ // if (this.addInfoOutSide) {
230
+ // return;
231
+ // }
232
+ //
233
+ // this.addInfoOutSide = true;
234
+ // this.addInfoInSide = false;
235
+ //
236
+ // createAddInfoButtonsOutSide();
237
+ // } else {
238
+ //
239
+ // if (this.addInfoOutSide && (containerWidth + 70 >= 380)) {
240
+ // return;
241
+ // }
242
+ //
243
+ // if (this.addInfoInSide) {
244
+ // return;
245
+ // }
246
+ //
247
+ // this.addInfoInSide = true;
248
+ // this.addInfoOutSide = false;
249
+ // createAddInfoButtonsInSide();
250
+ // }
248
251
  }
249
252
 
250
253
  protected setDimensions(containerWidth: number, containerHeight: number, defaultData: defaultType) {
@@ -208,22 +208,22 @@
208
208
  </div>
209
209
  <div class="top-controllers__body__right">
210
210
  {{#desktop}}
211
- <button type="button" class="plyr__control fullscreen-custom-control">
212
- <img class="filter minimize d-none" src="{{icons.minimize}}" alt="">
213
- <img class="filter maximize" src="{{icons.maximize}}" alt="">
214
- </button>
215
- <button type="button" class="plyr__control mini-player-control">
216
- <img class="filter" src="{{icons.mini-player}}" alt="">
217
- </button>
211
+ <!-- <button type="button" class="plyr__control fullscreen-custom-control">-->
212
+ <!-- <img class="filter minimize d-none" src="{{icons.minimize}}" alt="">-->
213
+ <!-- <img class="filter maximize" src="{{icons.maximize}}" alt="">-->
214
+ <!-- </button>-->
215
+ <!-- <button type="button" class="plyr__control mini-player-control">-->
216
+ <!-- <img class="filter" src="{{icons.mini-player}}" alt="">-->
217
+ <!-- </button>-->
218
218
  {{/desktop}}
219
219
  {{#mobile}}
220
- <button type="button" class="plyr__control fullscreen-custom-control">
221
- <img class="filter minimize d-none" src="{{icons.minimize}}" alt="">
222
- <img class="filter maximize" src="{{icons.maximize}}" alt="">
223
- </button>
224
- <button type="button" class="plyr__control mini-player-control">
225
- <img class="filter" src="{{icons.mini-player}}" alt="">
226
- </button>
220
+ <!-- <button type="button" class="plyr__control fullscreen-custom-control">-->
221
+ <!-- <img class="filter minimize d-none" src="{{icons.minimize}}" alt="">-->
222
+ <!-- <img class="filter maximize" src="{{icons.maximize}}" alt="">-->
223
+ <!-- </button>-->
224
+ <!-- <button type="button" class="plyr__control mini-player-control">-->
225
+ <!-- <img class="filter" src="{{icons.mini-player}}" alt="">-->
226
+ <!-- </button>-->
227
227
  {{/mobile}}
228
228
  </div>
229
229
  </div>