Skip to content

Commit

Permalink
Settings updates
Browse files Browse the repository at this point in the history
  • Loading branch information
kmeleta committed Feb 13, 2023
1 parent 34436a3 commit d6b66a0
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 8 deletions.
12 changes: 8 additions & 4 deletions locales/en.default.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -2841,16 +2841,20 @@
"label": "Cover image"
},
"video": {
"label": "Shopify hosted video"
"label": "Shopify-hosted video"
},
"enable_video_looping": {
"label": "Enable video looping"
"label": "Play video on loop"
},
"header": {
"content": "Or add a video URL"
"content": "Or import video from URL"
},
"paragraph": {
"content": "Only shows if no Shopify-hosted video is selected."
},
"video_url": {
"label": "URL"
"label": "URL",
"info": "Use a YouTube or Vimeo URL"
},
"description": {
"label": "Video alt text",
Expand Down
13 changes: 9 additions & 4 deletions sections/video.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -182,15 +182,20 @@
"content": "t:sections.video.settings.header.content"
},
{
"type": "image_picker",
"id": "cover_image",
"label": "t:sections.video.settings.cover_image.label"
"type": "paragraph",
"content": "t:sections.video.settings.paragraph.content"
},
{
"type": "video_url",
"id": "video_url",
"accept": ["youtube", "vimeo"],
"label": "t:sections.video.settings.video_url.label"
"label": "t:sections.video.settings.video_url.label",
"info": "t:sections.video.settings.video_url.info"
},
{
"type": "image_picker",
"id": "cover_image",
"label": "t:sections.video.settings.cover_image.label"
},
{
"type": "text",
Expand Down

0 comments on commit d6b66a0

Please sign in to comment.