Skip to content

Commit

Permalink
Setting and content updates
Browse files Browse the repository at this point in the history
  • Loading branch information
kmeleta committed Feb 13, 2023
1 parent cce5d3c commit 34436a3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 13 deletions.
6 changes: 2 additions & 4 deletions locales/en.default.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -2847,12 +2847,10 @@
"label": "Enable video looping"
},
"header": {
"content": "Or import video from URL"
"content": "Or add a video URL"
},
"video_url": {
"label": "URL",
"placeholder": "Use a YouTube or Vimeo URL",
"info": "Video plays in the page."
"label": "URL"
},
"description": {
"label": "Video alt text",
Expand Down
15 changes: 6 additions & 9 deletions sections/video.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -166,17 +166,17 @@
"default": "h1",
"label": "t:sections.all.heading_size.label"
},
{
"type": "video",
"id": "video",
"label": "t:sections.video.settings.video.label"
},
{
"type": "checkbox",
"id": "enable_video_looping",
"label": "t:sections.video.settings.enable_video_looping.label",
"default": true
},
{
"type": "video",
"id": "video",
"label": "t:sections.video.settings.video.label"
},
{
"type": "header",
"content": "t:sections.video.settings.header.content"
Expand All @@ -190,10 +190,7 @@
"type": "video_url",
"id": "video_url",
"accept": ["youtube", "vimeo"],
"default": "https://www.youtube.com/watch?v=_9VUPq3SxOc",
"label": "t:sections.video.settings.video_url.label",
"placeholder": "Use a YouTube or Vimeo URL",
"info": "t:sections.video.settings.video_url.info"
"label": "t:sections.video.settings.video_url.label"
},
{
"type": "text",
Expand Down

0 comments on commit 34436a3

Please sign in to comment.