{
  "apiVersion": "1",
  "name": "html5-player/vimeo",
  "title": "Vimeo Player",
  "description": "Vimeo Player",
  "category": "media",
  "icon": "video-alt2",
  "keywords": ["Vimeo Player", "Media Player", "Vimeo"],
  "textdomain": "h5vp",
  "attributes": {
    "provider": {
      "type": "string",
      "default": "vimeo"
    },
    "imported": {
      "type": "boolean",
      "default": false
    },
    "clientId": {
      "type": "string"
    },
    "uniqueId": {
      "type": "string"
    },
    "source": {
      "type": "string"
    },
    "poster": {
      "type": "string"
    },
    "options": {
      "type": "object",
      "default": {
        "controls": ["play-large", "play", "progress", "current-time", "mute", "volume", "captions", "settings", "pip", "airplay", "fullscreen"],
        "settings": ["captions", "quality", "speed", "loop"],
        "loadSprite": true,
        "autoplay": false,
        "playsinline": true,
        "seekTime": 10,
        "volume": 1,
        "muted": false,
        "hideControls": true,
        "resetOnEnd": false,
        "captions": {
          "active": true,
          "language": "auto",
          "update": true
        },
        "ratio": null,
        "storage": {
          "enabled": true,
          "key": "plyr"
        },
        "speed": {
          "options": [0.5, 0.75, 1, 1.25, 1.5, 1.75, 2, 4]
        },
        "loop": {
        "active": false
      },
      "ads": {
        "enabled": false,
        "tagUrl": null
      },
      "urls": {
        "enabled": false,
        "download": null
      },
      "markers": {
        "enabled": false,
        "points": []
      },
      "preload": "metadata"
      }
    },
    "features": {
      "type": "object",
      "default": {
        "popup": {
          "enabled": false,
          "selector": null,
          "hasBtn": false,
          "type": "poster",
          "btnText": "Watch Video",
          "align": "center",
          "btnStyle": {
            "color": "#fff",
            "backgroundColor": "#006BA1",
            "fontSize": "16px",
            "padding": {
              "top": "10px",
              "right": "20px",
              "bottom": "10px",
              "left": "20px"
            }
          }
        },
        "overlay": {
            "enabled": false,
            "items": [
              {
                "color": "#fff",
                "backgroundColor": "#333",
                "fontSize": "16px",
                "link": "",
                "logo": "",
                "text": "Simple Text",
                "position": "top_right",
                "type": "text",
                "opacity": 1
              }
            ]
        },
        "endScreen": {
            "enabled": false,
            "text": "Simple Text",
            "btnText": "Watch Again",
            "btnLink": "",
            "btnStyle": {}
        },
        "thumbInPause": {
          "enabled": false,
          "type": "default"
        },
        "watermark": {
          "enabled": false,
          "type": "email",
          "text": "",
          "color": "#f00"
        },
        "sticky": {
          "enabled": false,
          "position": "top_right"
        },
        "playWhenVisible": false,
        "disablePause": false,
        "hideYoutubeUI": false,
        "startTime": null,
        "hideLoadingPlaceholder": false,
        "passwordProtected": {
          "enabled": false,
          "errorMessage": "Password didn't matched",
          "heading": "Please Entire the password to access the video",
          "button": {
            "text": "Access",
            "color": "#222",
            "backgroundColor": "#ffffffe3"
          }
        }
      }
    },
    "quality": {
      "type": "array",
      "default": [
        {
          "size": "size",
          "video_file": ""
        }
      ]
    },
    "subtitle": {
      "type": "array",
      "default": [
        {
          "label": "label",
          "caption_file": ""
        }
      ]
    },
    
    "thumbInPause": {
      "type": "boolean",
      "default": false
    },
    "hideYoutubeUI": {
      "type": "boolean",
      "default": false
    },
    "additionalCSS": {
      "type": "string"
    },
    "additionalID": {
      "type": "string"
    },
    "autoplayWhenVisible": {
      "type": "boolean",
      "default": false
    },
    "styles": {
      "type": "object",
      "default": {
        "plyr_wrapper": {
          "width": "100%",
          "borderRadius": "0px",
          "overflow": "hidden"
        }
      }
    },
    "CSS": {
      "type": "string",
      "default": ""
    },
    "ratio": {
      "type": "string",
      "default": null
    },
    "isCDURL": {
      "type": "boolean",
      "default": false
    },
    "CDURL": {
      "type": "string"
    },
    "posterTime": {
      "type": "number",
      "default": 20
    },
    "chapters": {
      "type": "array",
      "default": []
    },
    "controls": {
      "type": "object",
      "default": {
        "play-large": true,
        "restart": false,
        "rewind": true,
        "play": true,
        "fast-forward": true,
        "progress": true,
        "current-time": true,
        "duration": false,
        "mute": true,
        "volume": true,
        "pip": false,
        "airplay": false,
        "settings": true,
        "downlaod": false,
        "fullscreen": true
      }
    },
    "brandColor": {
      "type": "string",
      "default": "#00B3FF"
    },
    "width": {
      "type": "object",
      "default": {
        "deprecated": true,
        "number": 100,
        "unit": "%"
      }
    },
    "radius": {
      "type": "object",
      "default": {
        "number": 0,
        "unit": "px"
      }
    },
    "repeat": {
      "type": "boolean",
      "default": false
    },
    "autoplay": {
      "type": "boolean",
      "default": false
    },
    
    "muted": {
      "type": "boolean",
      "default": false
    },
    "sticky": {
      "type": "boolean",
      "default": false
    },
    "stickyPosition": {
      "type": "string",
      "default": "top-right"
    },
    "popup": {
      "type": "boolean",
      "default": false
    },
    "popupType": {
      "type": "string",
      "default": "poster"
    },
    "playsinline": {
      "type": "boolean",
      "default": false
    },
    "popupBtnStyle": {
      "type": "object",
      "default": {
        "color": "#fff",
        "backgroundColor": "#006BA1",
        "fontSize": "16px",
        "padding": {
          "top": "10px",
          "right": "20px",
          "bottom": "10px",
          "left": "20px"
        },
        "align": "center"
      }
    },
    "popupBtnText": {
      "type": "string",
      "default": "Watch Video"
    },

    "popupBtnExists": {
      "type": "boolean"
    },
    "popupBtnClass": {
      "type": "string"
    },
    "disablePause": {
      "type": "boolean",
      "default": false
    },
    
    "thumbStyle": {
      "type": "string",
      "default": "default"
    },
    "resetOnEnd": {
      "type": "boolean",
      "default": false
    },
    "autoHideControl": {
      "type": "boolean",
      "default": true
    },
    "protected": {
      "type": "boolean",
      "default": false
    },
    "password": {
      "type": "string"
    },
    "protectedText": {
      "type": "string",
      "default": "Please enter password to wath the video"
    },
    "seekTime": {
      "type": "number",
      "default": 10
    },
    "startTime": {
      "type": "number",
      "default": 0
    },
    "preload": {
      "type": "string",
      "default": "metadata"
    },
    "overlay": {
      "type": "boolean",
      "default": false
    },
    
    "overlayType": {
      "type": "boolean"
    },
    "overlayText": {
      "type": "string"
    },
    "overlayPosition": {
      "type": "string",
      "default": "top_right"
    },
    "overlayBackground": {
      "type": "string",
      "default": "#333"
    },
    "overlayOpacity": {
      "type": "number",
      "default": 0.8
    },
    "overlayLogo": {
      "type": "string"
    },
    "overlayLink": {
      "type": "string"
    },
    "overlayTextColor": {
      "type": "string",
      "default": "#ffffff"
    },
    "overlayFontSize": {
      "type": "object",
      "default": {
        "number": 20,
        "unit": "px"
      }
    },
    "overlayTextHoverColor": {
      "type": "string",
      "default": "#ffffff"
    },
    
    "endScreen": {
      "type": "object",
      "default": {
        "enabled": false,
        "text": "Simple Text",
        "btnText": "Watch Again",
        "btnLink": "",
        "btnStyle": {}
      }
    },
    "endscreen": {
      "type": "boolean",
      "default": false
    },
    "endscreenText": {
      "type": "string",
      "default": "Endscreen text"
    },
    "endscreenTextLink": {
      "type": "string",
      "default": "#"
    },
    "streaming": {
      "type": "boolean",
      "default": false
    },
    "streamingType": {
      "type": "string",
      "default": "hls"
    },
   
    "speed": {
      "type": "object",
      "default": {
        "1": true,
        "2": true,
        "3": true,
        "0.5": true,
        "0.75": true,
        "1.25": true,
        "1.5": true,
        "1.75": true,
        "2.5": true
      }
    },
    
    
    "captionEnabled": {
      "type": "boolean",
      "default": false
    },
    
    "vastTag": {
      "type": "string"
    },
    "saveState": {
      "type": "boolean",
      "default": true
    }
  },
  "supports": {
    "html": false,
    "lock": false,
    "reusable": false
  },
  "example": {
    "attributes": {
      "preview": true
    }
  }
}
