@mychoice/mychoice-sdk-modules 2.1.43 → 2.1.44
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/cjs/index.js +1 -2
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +1 -2
- package/dist/esm/index.js.map +1 -1
- package/package.json +2 -2
package/dist/esm/index.js
CHANGED
|
@@ -241,8 +241,7 @@ HeaderMyChoiceMobile.defaultProps = {
|
|
|
241
241
|
const LoaderVid = () => {
|
|
242
242
|
const { appDeviceType } = useStoreDeviceType();
|
|
243
243
|
const isMobile = appDeviceType === DeviceTypes.Mobile;
|
|
244
|
-
return (jsx(Fragment, { children: isMobile ? jsx("video", { src: "https://mychoice.ca/wp-content/uploads/2023/05/Pig-Video.mp4", autoPlay: true, loop: true, muted: true, preload: "auto", style: { maxHeight: '300px' } })
|
|
245
|
-
: jsx("video", { src: "https://mychoice.ca/wp-content/uploads/2023/05/Pig-Video.mp4", autoPlay: true, loop: true, muted: true, preload: "auto", style: { maxHeight: '400px' } }) }));
|
|
244
|
+
return (jsx(Fragment, { children: isMobile ? (jsx("video", { src: "https://mychoice.ca/wp-content/uploads/2023/05/Pig-Video.mp4", playsInline: true, autoPlay: true, loop: true, muted: true, preload: "auto", style: { maxHeight: '300px' } })) : (jsx("video", { src: "https://mychoice.ca/wp-content/uploads/2023/05/Pig-Video.mp4", playsInline: true, autoPlay: true, loop: true, muted: true, preload: "auto", style: { maxHeight: '400px' } })) }));
|
|
246
245
|
};
|
|
247
246
|
|
|
248
247
|
const LoaderPrimary = () => {
|