@eluvio/elv-player-js 1.0.85 → 1.0.86

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": "@eluvio/elv-player-js",
3
- "version": "1.0.85",
3
+ "version": "1.0.86",
4
4
  "description": "![Eluvio Logo](src/static/images/Logo.png \"Eluvio Logo\")",
5
5
  "main": "src/index.js",
6
6
  "license": "MIT",
package/src/index.js CHANGED
@@ -118,7 +118,7 @@ const DefaultParameters = {
118
118
  hlsjsOptions: undefined,
119
119
  dashjsOptions: undefined,
120
120
  // eslint-disable-next-line no-unused-vars
121
- playerCallback: ({videoElement, hlsPlayer, dashPlayer, posterUrl}) => {},
121
+ playerCallback: ({player, videoElement, hlsPlayer, dashPlayer, posterUrl}) => {},
122
122
  errorCallback: (error) => {
123
123
  // eslint-disable-next-line no-console
124
124
  console.error("ELUVIO PLAYER: Error");
@@ -733,6 +733,7 @@ export class EluvioPlayer {
733
733
 
734
734
  if(this.playerOptions.playerCallback) {
735
735
  this.playerOptions.playerCallback({
736
+ player: this,
736
737
  videoElement: this.video,
737
738
  hlsPlayer,
738
739
  dashPlayer,
@@ -592,11 +592,13 @@ $button-height: 35px;
592
592
  }
593
593
 
594
594
  .eluvio-player__controls__button {
595
- height: CALC(#{$button-height} * 0.9);
596
- max-height: CALC(#{$button-height} * 0.9);
597
- max-width: CALC(#{$button-height} * 0.9);
598
- min-height: CALC(#{$button-height} * 0.9);
599
- min-width: CALC(#{$button-height} * 0.9);
595
+ &:not(.eluvio-player__big-play-button) {
596
+ height: CALC(#{$button-height} * 0.9);
597
+ max-height: CALC(#{$button-height} * 0.9);
598
+ max-width: CALC(#{$button-height} * 0.9);
599
+ min-height: CALC(#{$button-height} * 0.9);
600
+ min-width: CALC(#{$button-height} * 0.9);
601
+ }
600
602
  }
601
603
 
602
604
  .eluvio-player__controls__volume-container {
@@ -604,10 +606,10 @@ $button-height: 35px;
604
606
  }
605
607
 
606
608
  .eluvio-player__big-play-button {
607
- max-height: 75px;
608
- max-width: 75px;
609
- min-height: 75px;
610
- min-width: 75px;
609
+ max-height: 55px;
610
+ max-width: 55px;
611
+ min-height: 55px;
612
+ min-width: 55px;
611
613
  }
612
614
 
613
615
  .eluvio-player__ticket-modal {