@micromag/screen-timeline 0.3.803 → 0.3.806

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.
Files changed (2) hide show
  1. package/es/index.js +13 -13
  2. package/package.json +2 -2
package/es/index.js CHANGED
@@ -521,18 +521,7 @@ var Timeline = function Timeline(_ref) {
521
521
  paddingTop: spacing / 2,
522
522
  paddingBottom: spacing / 2
523
523
  }
524
- }, /*#__PURE__*/React.createElement(Footer, footerProps)) : null), !isPlaceholder ? /*#__PURE__*/React.createElement(Background, {
525
- background: background,
526
- width: width,
527
- height: height,
528
- resolution: imageResolution,
529
- playing: backgroundPlaying,
530
- muted: muted,
531
- shouldLoad: mediaShouldLoad,
532
- mediaRef: audioAlternativeMedia === null ? mediaRef : null,
533
- withoutVideo: isPreview,
534
- className: styles.background
535
- }) : null, audioAlternativeMedia !== null ? /*#__PURE__*/React.createElement(Audio, Object.assign({}, finalAudioAlternative, {
524
+ }, /*#__PURE__*/React.createElement(Footer, footerProps)) : null), audioAlternativeMedia !== null ? /*#__PURE__*/React.createElement(Audio, Object.assign({}, finalAudioAlternative, {
536
525
  paused: !audioPlaying,
537
526
  mediaRef: mediaRef,
538
527
  muted: muted,
@@ -546,7 +535,18 @@ var Timeline = function Timeline(_ref) {
546
535
  onDurationChange: onAudioDurationChange,
547
536
  onSeeked: onAudioSeeked,
548
537
  onEnded: onAudioEnded
549
- })) : null);
538
+ })) : null, !isPlaceholder ? /*#__PURE__*/React.createElement(Background, {
539
+ background: background,
540
+ width: width,
541
+ height: height,
542
+ resolution: imageResolution,
543
+ playing: backgroundPlaying,
544
+ muted: muted,
545
+ shouldLoad: mediaShouldLoad,
546
+ mediaRef: audioAlternativeMedia === null ? mediaRef : null,
547
+ withoutVideo: isPreview,
548
+ className: styles.background
549
+ }) : null);
550
550
  };
551
551
  Timeline.propTypes = propTypes;
552
552
  Timeline.defaultProps = defaultProps;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@micromag/screen-timeline",
3
- "version": "0.3.803",
3
+ "version": "0.3.806",
4
4
  "private": false,
5
5
  "description": "",
6
6
  "keywords": [
@@ -81,5 +81,5 @@
81
81
  "access": "public",
82
82
  "registry": "https://registry.npmjs.org/"
83
83
  },
84
- "gitHead": "b8d7486367da5144fa0824e48527c44aa4123ddf"
84
+ "gitHead": "11b32cfa59e2c5b6b332e377e0290e0bf5036f36"
85
85
  }