{
  "_comment": "!!! THIS IS AN AUTOMATICALLY GENERATED FILE - DO NOT EDIT !!!",
  "name": "squad-modules/advanced-video",
  "d4Shortcode": "disq_advanced_video",
  "title": "Advanced Video",
  "titles": "Advanced Videos",
  "moduleIcon": "squad-modules/advanced-video",
  "moduleClassName": "disq_advanced_video",
  "category": "module",
  "folder": "squad-modules",
  "attributes": {
    "module": {
      "type": "object",
      "selector": "{{selector}}",
      "settings": {
        "meta": {
          "adminLabel": {}
        },
        "advanced": {
          "htmlAttributes": {}
        },
        "decoration": {
          "animation": {},
          "background": {},
          "border": {},
          "boxShadow": {},
          "conditions": {},
          "disabledOn": {},
          "filters": {},
          "font": {},
          "overflow": {},
          "position": {},
          "scroll": {},
          "sizing": {},
          "spacing": {},
          "sticky": {},
          "transform": {},
          "transition": {},
          "zIndex": {}
        }
      },
      "default": {
        "meta": {
          "adminLabel": {
            "desktop": {
              "value": "Advanced Video"
            }
          }
        }
      }
    },
    "videoSettings": {
      "type": "object",
      "selector": "{{selector}} .squad-video",
      "settings": {
        "innerContent": {
          "groupType": "group-items",
          "items": {
            "source": {
              "groupSlug": "contentSource",
              "attrName": "videoSettings.innerContent",
              "subName": "source",
              "label": "Video Source",
              "description": "Where the video comes from.",
              "features": {
                "responsive": false,
                "hover": false,
                "sticky": false
              },
              "render": true,
              "priority": 10,
              "component": {
                "type": "field",
                "name": "divi/select",
                "props": {
                  "options": {
                    "youtube": {
                      "label": "YouTube"
                    },
                    "vimeo": {
                      "label": "Vimeo"
                    },
                    "dailymotion": {
                      "label": "Dailymotion"
                    },
                    "self": {
                      "label": "Self-hosted (MP4)"
                    }
                  }
                }
              }
            },
            "videoUrl": {
              "groupSlug": "contentSource",
              "attrName": "videoSettings.innerContent",
              "subName": "videoUrl",
              "label": "Video URL",
              "description": "YouTube, Vimeo, or Dailymotion URL.",
              "features": {
                "responsive": false,
                "hover": false,
                "sticky": false
              },
              "render": true,
              "priority": 20,
              "component": {
                "type": "field",
                "name": "divi/text"
              }
            },
            "videoFile": {
              "groupSlug": "contentSource",
              "attrName": "videoSettings.innerContent",
              "subName": "videoFile",
              "label": "Video MP4 File",
              "description": "Upload or link an .mp4 file (self-hosted).",
              "features": {
                "responsive": false,
                "hover": false,
                "sticky": false
              },
              "render": true,
              "priority": 30,
              "component": {
                "type": "field",
                "name": "divi/upload"
              }
            },
            "display": {
              "groupSlug": "contentSource",
              "attrName": "videoSettings.innerContent",
              "subName": "display",
              "label": "Display Mode",
              "description": "Embed inline or open in a lightbox.",
              "features": {
                "responsive": false,
                "hover": false,
                "sticky": false
              },
              "render": true,
              "priority": 40,
              "component": {
                "type": "field",
                "name": "divi/select",
                "props": {
                  "options": {
                    "inline": {
                      "label": "Inline"
                    },
                    "lightbox": {
                      "label": "Lightbox"
                    }
                  }
                }
              }
            },
            "aspectRatio": {
              "groupSlug": "contentSource",
              "attrName": "videoSettings.innerContent",
              "subName": "aspectRatio",
              "label": "Aspect Ratio",
              "description": "Frame aspect ratio.",
              "features": {
                "responsive": false,
                "hover": false,
                "sticky": false
              },
              "render": true,
              "priority": 50,
              "component": {
                "type": "field",
                "name": "divi/select",
                "props": {
                  "options": {
                    "16-9": {
                      "label": "16:9"
                    },
                    "4-3": {
                      "label": "4:3"
                    },
                    "1-1": {
                      "label": "1:1"
                    },
                    "21-9": {
                      "label": "21:9"
                    }
                  }
                }
              }
            },
            "usePoster": {
              "groupSlug": "contentPoster",
              "attrName": "videoSettings.innerContent",
              "subName": "usePoster",
              "label": "Use Poster Overlay",
              "description": "Show a poster image with a play button.",
              "features": {
                "responsive": false,
                "hover": false,
                "sticky": false
              },
              "render": true,
              "priority": 10,
              "component": {
                "type": "field",
                "name": "divi/toggle"
              }
            },
            "posterImage": {
              "groupSlug": "contentPoster",
              "attrName": "videoSettings.innerContent",
              "subName": "posterImage",
              "label": "Poster Image",
              "description": "Image shown before play.",
              "features": {
                "responsive": false,
                "hover": false,
                "sticky": false
              },
              "render": true,
              "priority": 20,
              "component": {
                "type": "field",
                "name": "divi/upload"
              }
            },
            "posterAlt": {
              "groupSlug": "contentPoster",
              "attrName": "videoSettings.innerContent",
              "subName": "posterAlt",
              "label": "Poster Alt Text",
              "description": "Alternative text for the poster.",
              "features": {
                "responsive": false,
                "hover": false,
                "sticky": false
              },
              "render": true,
              "priority": 30,
              "component": {
                "type": "field",
                "name": "divi/text"
              }
            },
            "playIcon": {
              "groupSlug": "contentPoster",
              "attrName": "videoSettings.innerContent",
              "subName": "playIcon",
              "label": "Play Icon",
              "description": "Play button glyph.",
              "features": {
                "responsive": false,
                "hover": false,
                "sticky": false
              },
              "render": true,
              "priority": 40,
              "component": {
                "type": "field",
                "name": "divi/select",
                "props": {
                  "options": {
                    "circle": {
                      "label": "Filled Circle"
                    },
                    "circle-outline": {
                      "label": "Outline Circle"
                    },
                    "triangle": {
                      "label": "Triangle"
                    }
                  }
                }
              }
            },
            "autoplay": {
              "groupSlug": "contentPlayback",
              "attrName": "videoSettings.innerContent",
              "subName": "autoplay",
              "label": "Autoplay",
              "description": "Autoplay forces mute (browser policy).",
              "features": {
                "responsive": false,
                "hover": false,
                "sticky": false
              },
              "render": true,
              "priority": 10,
              "component": {
                "type": "field",
                "name": "divi/toggle"
              }
            },
            "muted": {
              "groupSlug": "contentPlayback",
              "attrName": "videoSettings.innerContent",
              "subName": "muted",
              "label": "Muted",
              "description": "Start muted.",
              "features": {
                "responsive": false,
                "hover": false,
                "sticky": false
              },
              "render": true,
              "priority": 20,
              "component": {
                "type": "field",
                "name": "divi/toggle"
              }
            },
            "loop": {
              "groupSlug": "contentPlayback",
              "attrName": "videoSettings.innerContent",
              "subName": "loop",
              "label": "Loop",
              "description": "Loop playback.",
              "features": {
                "responsive": false,
                "hover": false,
                "sticky": false
              },
              "render": true,
              "priority": 30,
              "component": {
                "type": "field",
                "name": "divi/toggle"
              }
            },
            "controls": {
              "groupSlug": "contentPlayback",
              "attrName": "videoSettings.innerContent",
              "subName": "controls",
              "label": "Show Controls",
              "description": "Show player controls.",
              "features": {
                "responsive": false,
                "hover": false,
                "sticky": false
              },
              "render": true,
              "priority": 40,
              "component": {
                "type": "field",
                "name": "divi/toggle"
              }
            },
            "startTime": {
              "groupSlug": "contentPlayback",
              "attrName": "videoSettings.innerContent",
              "subName": "startTime",
              "label": "Start Time (s)",
              "description": "Begin playback at this second.",
              "features": {
                "responsive": false,
                "hover": false,
                "sticky": false
              },
              "render": true,
              "priority": 50,
              "component": {
                "type": "field",
                "name": "divi/range",
                "props": {
                  "min": 0,
                  "max": 3600,
                  "step": 1,
                  "allowedUnits": [],
                  "defaultUnit": ""
                }
              }
            },
            "endTime": {
              "groupSlug": "contentPlayback",
              "attrName": "videoSettings.innerContent",
              "subName": "endTime",
              "label": "End Time (s)",
              "description": "0 = play to the end.",
              "features": {
                "responsive": false,
                "hover": false,
                "sticky": false
              },
              "render": true,
              "priority": 60,
              "component": {
                "type": "field",
                "name": "divi/range",
                "props": {
                  "min": 0,
                  "max": 3600,
                  "step": 1,
                  "allowedUnits": [],
                  "defaultUnit": ""
                }
              }
            },
            "sticky": {
              "groupSlug": "contentSticky",
              "attrName": "videoSettings.innerContent",
              "subName": "sticky",
              "label": "Enable Sticky",
              "description": "Dock to a corner on scroll (inline only).",
              "features": {
                "responsive": false,
                "hover": false,
                "sticky": false
              },
              "render": true,
              "priority": 10,
              "component": {
                "type": "field",
                "name": "divi/toggle"
              }
            },
            "stickyPosition": {
              "groupSlug": "contentSticky",
              "attrName": "videoSettings.innerContent",
              "subName": "stickyPosition",
              "label": "Sticky Position",
              "description": "Corner to dock to.",
              "features": {
                "responsive": false,
                "hover": false,
                "sticky": false
              },
              "render": true,
              "priority": 20,
              "component": {
                "type": "field",
                "name": "divi/select",
                "props": {
                  "options": {
                    "bottom-right": {
                      "label": "Bottom Right"
                    },
                    "bottom-left": {
                      "label": "Bottom Left"
                    },
                    "top-right": {
                      "label": "Top Right"
                    },
                    "top-left": {
                      "label": "Top Left"
                    }
                  }
                }
              }
            },
            "stickyWidth": {
              "groupSlug": "contentSticky",
              "attrName": "videoSettings.innerContent",
              "subName": "stickyWidth",
              "label": "Sticky Width (px)",
              "description": "Docked player width.",
              "features": {
                "responsive": false,
                "hover": false,
                "sticky": false
              },
              "render": true,
              "priority": 30,
              "component": {
                "type": "field",
                "name": "divi/range",
                "props": {
                  "min": 200,
                  "max": 800,
                  "step": 10,
                  "allowedUnits": [],
                  "defaultUnit": ""
                }
              }
            },
            "stickyMobile": {
              "groupSlug": "contentSticky",
              "attrName": "videoSettings.innerContent",
              "subName": "stickyMobile",
              "label": "Sticky on Mobile",
              "description": "Keep docking on small screens.",
              "features": {
                "responsive": false,
                "hover": false,
                "sticky": false
              },
              "render": true,
              "priority": 40,
              "component": {
                "type": "field",
                "name": "divi/toggle"
              }
            }
          }
        }
      },
      "default": {
        "innerContent": {
          "desktop": {
            "value": {
              "source": "youtube",
              "videoUrl": "",
              "videoFile": "",
              "display": "inline",
              "aspectRatio": "16-9",
              "usePoster": "on",
              "posterImage": "",
              "posterAlt": "",
              "playIcon": "circle",
              "autoplay": "off",
              "muted": "off",
              "loop": "off",
              "controls": "on",
              "startTime": "0",
              "endTime": "0",
              "sticky": "off",
              "stickyPosition": "bottom-right",
              "stickyWidth": "400",
              "stickyMobile": "off"
            }
          }
        }
      }
    },
    "videoStyle": {
      "type": "object",
      "selector": "{{selector}} .squad-video",
      "settings": {
        "innerContent": {
          "groupType": "group-items",
          "items": {
            "playColor": {
              "groupSlug": "designVideo",
              "attrName": "videoStyle.innerContent",
              "subName": "playColor",
              "label": "Play Icon Color",
              "features": {
                "sticky": false
              },
              "render": true,
              "priority": 10,
              "component": {
                "type": "field",
                "name": "divi/color-picker"
              }
            },
            "playBg": {
              "groupSlug": "designVideo",
              "attrName": "videoStyle.innerContent",
              "subName": "playBg",
              "label": "Play Button Background",
              "features": {
                "sticky": false
              },
              "render": true,
              "priority": 20,
              "component": {
                "type": "field",
                "name": "divi/color-picker"
              }
            },
            "playSize": {
              "groupSlug": "designVideo",
              "attrName": "videoStyle.innerContent",
              "subName": "playSize",
              "label": "Play Button Size (px)",
              "features": {
                "responsive": false,
                "hover": false,
                "sticky": false
              },
              "render": true,
              "priority": 30,
              "component": {
                "type": "field",
                "name": "divi/range",
                "props": {
                  "min": 32,
                  "max": 160,
                  "step": 2,
                  "allowedUnits": [],
                  "defaultUnit": ""
                }
              }
            },
            "overlayColor": {
              "groupSlug": "designVideo",
              "attrName": "videoStyle.innerContent",
              "subName": "overlayColor",
              "label": "Poster Overlay Color",
              "features": {
                "sticky": false
              },
              "render": true,
              "priority": 40,
              "component": {
                "type": "field",
                "name": "divi/color-picker"
              }
            },
            "frameBg": {
              "groupSlug": "designVideo",
              "attrName": "videoStyle.innerContent",
              "subName": "frameBg",
              "label": "Frame Background",
              "features": {
                "sticky": false
              },
              "render": true,
              "priority": 50,
              "component": {
                "type": "field",
                "name": "divi/color-picker"
              }
            },
            "stickyShadow": {
              "groupSlug": "designVideo",
              "attrName": "videoStyle.innerContent",
              "subName": "stickyShadow",
              "label": "Sticky Drop Shadow",
              "features": {
                "responsive": false,
                "hover": false,
                "sticky": false
              },
              "render": true,
              "priority": 60,
              "component": {
                "type": "field",
                "name": "divi/toggle"
              }
            }
          }
        }
      },
      "default": {
        "innerContent": {
          "desktop": {
            "value": {
              "playColor": "#ffffff",
              "playBg": "rgba(0,0,0,0.6)",
              "playSize": "68",
              "overlayColor": "",
              "frameBg": "#000000",
              "stickyShadow": "on"
            }
          }
        }
      }
    }
  },
  "settings": {
    "groups": {
      "contentSource": {
        "panel": "content",
        "priority": 10,
        "groupName": "videoSettings",
        "multiElements": true,
        "component": {
          "name": "divi/composite",
          "props": {
            "groupLabel": "Video"
          }
        }
      },
      "contentPoster": {
        "panel": "content",
        "priority": 20,
        "groupName": "videoSettings",
        "multiElements": true,
        "component": {
          "name": "divi/composite",
          "props": {
            "groupLabel": "Poster"
          }
        }
      },
      "contentPlayback": {
        "panel": "content",
        "priority": 30,
        "groupName": "videoSettings",
        "multiElements": true,
        "component": {
          "name": "divi/composite",
          "props": {
            "groupLabel": "Playback"
          }
        }
      },
      "contentSticky": {
        "panel": "content",
        "priority": 40,
        "groupName": "videoSettings",
        "multiElements": true,
        "component": {
          "name": "divi/composite",
          "props": {
            "groupLabel": "Sticky"
          }
        }
      },
      "designVideo": {
        "panel": "design",
        "priority": 10,
        "groupName": "videoStyle",
        "multiElements": true,
        "component": {
          "name": "divi/composite",
          "props": {
            "groupLabel": "Video"
          }
        }
      }
    }
  }
}
