@micromag/screen-video-360 0.2.289 → 0.2.295

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/es/index.js CHANGED
@@ -30,7 +30,7 @@ var propTypes = {
30
30
  background: PropTypes$1.backgroundElement,
31
31
  callToAction: PropTypes$1.callToAction,
32
32
  current: PropTypes.bool,
33
- active: PropTypes.bool,
33
+ // active: PropTypes.bool,
34
34
  transitions: PropTypes$1.transitions,
35
35
  onPrevious: PropTypes.func,
36
36
  onNext: PropTypes.func,
@@ -44,7 +44,7 @@ var defaultProps = {
44
44
  background: null,
45
45
  callToAction: null,
46
46
  current: true,
47
- active: true,
47
+ // active: true,
48
48
  transitions: null,
49
49
  onPrevious: null,
50
50
  onNext: null,
@@ -61,7 +61,6 @@ var Video360Screen = function Video360Screen(_ref) {
61
61
  background = _ref.background,
62
62
  callToAction = _ref.callToAction,
63
63
  current = _ref.current,
64
- active = _ref.active,
65
64
  transitions = _ref.transitions,
66
65
  onPrevious = _ref.onPrevious,
67
66
  onNext = _ref.onNext,
@@ -508,7 +507,7 @@ var Video360Screen = function Video360Screen(_ref) {
508
507
  ref: apiRef,
509
508
  className: styles.video,
510
509
  withoutCors: true,
511
- preload: active ? 'auto' : 'metadata',
510
+ preload: "auto",
512
511
  onReady: onVideoReady,
513
512
  onPlay: onPlay,
514
513
  onPause: onPause,
package/lib/index.js CHANGED
@@ -51,7 +51,7 @@ var propTypes = {
51
51
  background: core.PropTypes.backgroundElement,
52
52
  callToAction: core.PropTypes.callToAction,
53
53
  current: PropTypes__default['default'].bool,
54
- active: PropTypes__default['default'].bool,
54
+ // active: PropTypes.bool,
55
55
  transitions: core.PropTypes.transitions,
56
56
  onPrevious: PropTypes__default['default'].func,
57
57
  onNext: PropTypes__default['default'].func,
@@ -65,7 +65,7 @@ var defaultProps = {
65
65
  background: null,
66
66
  callToAction: null,
67
67
  current: true,
68
- active: true,
68
+ // active: true,
69
69
  transitions: null,
70
70
  onPrevious: null,
71
71
  onNext: null,
@@ -82,7 +82,6 @@ var Video360Screen = function Video360Screen(_ref) {
82
82
  background = _ref.background,
83
83
  callToAction = _ref.callToAction,
84
84
  current = _ref.current,
85
- active = _ref.active,
86
85
  transitions = _ref.transitions,
87
86
  onPrevious = _ref.onPrevious,
88
87
  onNext = _ref.onNext,
@@ -529,7 +528,7 @@ var Video360Screen = function Video360Screen(_ref) {
529
528
  ref: apiRef,
530
529
  className: styles.video,
531
530
  withoutCors: true,
532
- preload: active ? 'auto' : 'metadata',
531
+ preload: "auto",
533
532
  onReady: onVideoReady,
534
533
  onPlay: onPlay,
535
534
  onPause: onPause,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@micromag/screen-video-360",
3
- "version": "0.2.289",
3
+ "version": "0.2.295",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "javascript"
@@ -50,15 +50,15 @@
50
50
  "dependencies": {
51
51
  "@babel/runtime": "^7.13.10",
52
52
  "@folklore/size": "^0.1.14",
53
- "@micromag/core": "^0.2.287",
54
- "@micromag/element-background": "^0.2.287",
55
- "@micromag/element-call-to-action": "^0.2.287",
56
- "@micromag/element-closed-captions": "^0.2.287",
57
- "@micromag/element-container": "^0.2.287",
58
- "@micromag/element-image": "^0.2.287",
59
- "@micromag/element-media-controls": "^0.2.287",
60
- "@micromag/element-video": "^0.2.287",
61
- "@micromag/transforms": "^0.2.287",
53
+ "@micromag/core": "^0.2.291",
54
+ "@micromag/element-background": "^0.2.295",
55
+ "@micromag/element-call-to-action": "^0.2.291",
56
+ "@micromag/element-closed-captions": "^0.2.291",
57
+ "@micromag/element-container": "^0.2.291",
58
+ "@micromag/element-image": "^0.2.291",
59
+ "@micromag/element-media-controls": "^0.2.295",
60
+ "@micromag/element-video": "^0.2.295",
61
+ "@micromag/transforms": "^0.2.291",
62
62
  "classnames": "^2.2.6",
63
63
  "lodash": "^4.17.20",
64
64
  "prop-types": "^15.7.2",
@@ -70,5 +70,5 @@
70
70
  "publishConfig": {
71
71
  "access": "public"
72
72
  },
73
- "gitHead": "8c884efaad8b4ea30924cf3912e25b4a9beb91b7"
73
+ "gitHead": "f658921683d168980fbe526e357b1393f4a7a0cd"
74
74
  }