@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 +1 -1
- package/src/index.js +2 -1
- package/src/static/stylesheets/player.scss +11 -9
package/package.json
CHANGED
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
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
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:
|
|
608
|
-
max-width:
|
|
609
|
-
min-height:
|
|
610
|
-
min-width:
|
|
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 {
|