@aarsteinmedia/dotlottie-player 6.5.2 → 6.5.3

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.
@@ -50,7 +50,7 @@
50
50
  ],
51
51
  "superclass": {
52
52
  "name": "DotLottiePlayerBase",
53
- "module": "/dist/chunks/DotLottiePlayerBase-BFDljHjF.js"
53
+ "module": "/dist/chunks/DotLottiePlayerBase-B9TsipSe.js"
54
54
  },
55
55
  "tagName": "tagName",
56
56
  "customElement": true
@@ -86,7 +86,7 @@
86
86
  "name": "MouseOut",
87
87
  "declaration": {
88
88
  "name": "M",
89
- "module": "./chunks/DotLottiePlayerBase-BFDljHjF.js"
89
+ "module": "./chunks/DotLottiePlayerBase-B9TsipSe.js"
90
90
  }
91
91
  },
92
92
  {
@@ -94,7 +94,7 @@
94
94
  "name": "PlayerState",
95
95
  "declaration": {
96
96
  "name": "P",
97
- "module": "./chunks/DotLottiePlayerBase-BFDljHjF.js"
97
+ "module": "./chunks/DotLottiePlayerBase-B9TsipSe.js"
98
98
  }
99
99
  },
100
100
  {
package/dist/canvas.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import { RendererType, isServer } from '@aarsteinmedia/lottie-web/utils';
2
2
  export { PlayMode, PlayerEvent, RendererType } from '@aarsteinmedia/lottie-web/utils';
3
3
  import { loadAnimation } from '@aarsteinmedia/lottie-web/canvas';
4
- import { D as DotLottiePlayerBase, t as tagName } from './chunks/DotLottiePlayerBase-BFDljHjF.js';
5
- export { M as MouseOut, P as PlayerState } from './chunks/DotLottiePlayerBase-BFDljHjF.js';
4
+ import { D as DotLottiePlayerBase, t as tagName } from './chunks/DotLottiePlayerBase-B9TsipSe.js';
5
+ export { M as MouseOut, P as PlayerState } from './chunks/DotLottiePlayerBase-B9TsipSe.js';
6
6
  import '@aarsteinmedia/lottie-web/dotlottie';
7
7
 
8
8
  /**
@@ -1675,6 +1675,9 @@ const notImplemented = 'Method is not implemented', getStyles = async ()=>{
1675
1675
  /**
1676
1676
  * Handle visibility change events.
1677
1677
  */ _onVisibilityChange() {
1678
+ if (this.autoplay && hasReducedMotion) {
1679
+ return;
1680
+ }
1678
1681
  if (document.hidden && this.playerState === PlayerState.Playing) {
1679
1682
  this._freeze();
1680
1683
  return;
package/dist/full.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import { RendererType, isServer } from '@aarsteinmedia/lottie-web/utils';
2
2
  export { PlayMode, PlayerEvent, RendererType } from '@aarsteinmedia/lottie-web/utils';
3
3
  import { loadAnimation } from '@aarsteinmedia/lottie-web';
4
- import { D as DotLottiePlayerBase, l as loadDotLottieTools, t as tagName } from './chunks/DotLottiePlayerBase-BFDljHjF.js';
5
- export { M as MouseOut, P as PlayerState } from './chunks/DotLottiePlayerBase-BFDljHjF.js';
4
+ import { D as DotLottiePlayerBase, l as loadDotLottieTools, t as tagName } from './chunks/DotLottiePlayerBase-B9TsipSe.js';
5
+ export { M as MouseOut, P as PlayerState } from './chunks/DotLottiePlayerBase-B9TsipSe.js';
6
6
  import '@aarsteinmedia/lottie-web/dotlottie';
7
7
 
8
8
  /**
package/dist/light.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import { RendererType, isServer } from '@aarsteinmedia/lottie-web/utils';
2
2
  export { PlayMode, PlayerEvent, RendererType } from '@aarsteinmedia/lottie-web/utils';
3
3
  import { loadAnimation } from '@aarsteinmedia/lottie-web/light';
4
- import { D as DotLottiePlayerBase, t as tagName } from './chunks/DotLottiePlayerBase-BFDljHjF.js';
5
- export { M as MouseOut, P as PlayerState } from './chunks/DotLottiePlayerBase-BFDljHjF.js';
4
+ import { D as DotLottiePlayerBase, t as tagName } from './chunks/DotLottiePlayerBase-B9TsipSe.js';
5
+ export { M as MouseOut, P as PlayerState } from './chunks/DotLottiePlayerBase-B9TsipSe.js';
6
6
  import '@aarsteinmedia/lottie-web/dotlottie';
7
7
 
8
8
  /**
package/dist/svg.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import { RendererType, isServer } from '@aarsteinmedia/lottie-web/utils';
2
2
  export { PlayMode, PlayerEvent, RendererType } from '@aarsteinmedia/lottie-web/utils';
3
3
  import { loadAnimation } from '@aarsteinmedia/lottie-web/svg';
4
- import { D as DotLottiePlayerBase, t as tagName } from './chunks/DotLottiePlayerBase-BFDljHjF.js';
5
- export { M as MouseOut, P as PlayerState } from './chunks/DotLottiePlayerBase-BFDljHjF.js';
4
+ import { D as DotLottiePlayerBase, t as tagName } from './chunks/DotLottiePlayerBase-B9TsipSe.js';
5
+ export { M as MouseOut, P as PlayerState } from './chunks/DotLottiePlayerBase-B9TsipSe.js';
6
6
  import '@aarsteinmedia/lottie-web/dotlottie';
7
7
 
8
8
  /**