@thefittingroom/shop-ui 1.4.31 → 1.4.32

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/dist/esm/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * thefittingroom v1.4.31 (2024-08-14T18:34:31.560Z)
2
+ * thefittingroom v1.4.32 (2024-08-16T15:41:02.778Z)
3
3
  * Copyright 2022-present, TheFittingRoom, Inc. All rights reserved.
4
4
  */
5
5
  function loadImageRecursive(imageURL, imageURLs) {
@@ -26347,6 +26347,7 @@ const ScanCodeModal = (props) => {
26347
26347
 
26348
26348
  <div id="tfr-sign-in-nav" tfr-element="true" class="tfr-body-font tfr-mt-20 tfr-16-default tfr-c-black-o5 tfr-underline tfr-cursor">${L.HaveAcc}</div>
26349
26349
  </div>`;
26350
+ const shouldAutoplay = isMobile ? 'autoplay' : '';
26350
26351
  const body = () => {
26351
26352
  return `
26352
26353
  <div tfr-element="true">
@@ -26354,7 +26355,7 @@ const ScanCodeModal = (props) => {
26354
26355
 
26355
26356
  </div>
26356
26357
  <div tfr-element="true" class="tfr-logo-box">
26357
- <video id="tfr-video" controls loop>
26358
+ <video id="tfr-video" controls loop ${shouldAutoplay}>
26358
26359
  <source src="https://assets.dev.thefittingroom.xyz/videos/the-fitting-room.mp4" />
26359
26360
  </video>
26360
26361