zz-shopify-components 0.16.3-beta.2 → 0.16.3-beta.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.
@@ -86,9 +86,11 @@
86
86
  }
87
87
  {% endschema %}
88
88
 
89
- {% assign autoplay = true %}
89
+ {% assign autoplay = true %}
90
+ {% assign muted = true %}
90
91
  {% if block.settings.if_click_play %}
91
92
  {% assign autoplay = false %}
93
+ {% assign muted = false %}
92
94
  {% endif %}
93
95
 
94
96
 
@@ -101,7 +103,7 @@
101
103
  class: 'ratio-video tw-w-full tw-h-auto',
102
104
  autoplay: autoplay,
103
105
  loop: true,
104
- muted: true
106
+ muted: muted
105
107
  %}
106
108
  {% if block.settings.if_click_play %}
107
109
  <div class="video-play-btn tw-absolute tw-top-[50%] tw-left-[50%] tw-translate-x-[-50%] tw-translate-y-[-50%]">
@@ -3,7 +3,7 @@
3
3
  #shopify-block-{{block.id}} {
4
4
  width: calc(100% - 72px);
5
5
  box-sizing: border-box;
6
- transform: translateX(-24px);
6
+ transform: translateX(-18px);
7
7
  }
8
8
  #shopify-block-{{block.id}} .image-video-box {
9
9
  width: 100%;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zz-shopify-components",
3
- "version": "0.16.3-beta.2",
3
+ "version": "0.16.3-beta.3",
4
4
  "description": "Reusable Shopify components for theme projects",
5
5
  "keywords": [
6
6
  "shopify",