{
  "apiVersion": "1",
  "name": "html5-player/video",
  "title": "HTML5 Video Player",
  "description": "Video Player",
  "category": "media",
  "icon": "video-alt2",
  "keywords": ["HTML5 Video Player", "Media Player", "Video"],
  "textdomain": "h5vp",
  "attributes": {
    "provider": {
      "type": "string",
      "default": "library"
    },
    "clientId": {
      "type": "string"
    },
    "uniqueId": {
      "type": "string"
    },
    "source": {
      "type": "string"
    },
    "poster": {
      "type": "string" 
    },
    "options": {
      "type": "object",
      "default": {
        "preload": "metadata",
        "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": false,
          "language": "auto",
          "update": false
        },
        "ratio": null,
        "storage": {
          "enabled": true,
          "key": "plyr"
        },
        "speed": {
          "selected": 1,
          "options": [0.5, 0.75, 1, 1.25, 1.5, 1.75, 2, 4]
        },
        "loop": {
        "active": false
      },
      "ads": {
        "enabled": false,
        "tagUrl": null
      },
      "urls": {},
      "markers": {
        "enabled": false,
        "points": []
      }
      }
     
    },
    "POPUP": {
      "type": "object",
      "default": {
        "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": {
      "type": "object",
      "default": {
        "enabled": false,
        "items": [
          {
            "color": "#fff",
            "backgroundColor": "#333",
            "fontSize": "16px",
            "link": "",
            "logo": "",
            "text": "Simple Text",
            "position": "top_right",
            "type": "text",
            "opacity": 1
          }
        ]
      }
    },
    "END_SCREEN": {
      "type": "object",
      "default": {
        "enabled": false,
        "text": "Simple Text",
        "btnText": "Watch Again",
        "btnLink": "",
        "btnStyle": {}
      }
    },
    "quality": {
      "type": "array",
      "default": [
        {
          "size": "size",
          "video_file": ""
        }
      ]
    },
    "subtitle": {
      "type": "array",
      "default": [
        {
          "label": "label",
          "caption_file": ""
        }
      ]
    },
    "watermark": {
      "type": "object",
      "default": {
        "enabled": false,
        "type": "email",
        "text": ""
      }
    },
    "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%"
        }
      }
    },
    "CSS": {
      "type": "string",
      "default": ""
    },
    "posterTime": {
      "type": "number",
      "default": 20
    },
 
    "brandColor": {
      "type": "string",
      "default": "#00B3FF"
    },
  
    "sticky": {
      "type": "boolean",
      "default": false
    },
    "stickyPosition": {
      "type": "string",
      "default": "top-right"
    },
   
    "disablePause": {
      "type": "boolean",
      "default": false
    },
    
    "thumbStyle": {
      "type": "string",
      "default": "default"
    },
 
    "protected": {
      "type": "boolean",
      "default": false
    },
    "password": {
      "type": "string"
    },
    "protectedText": {
      "type": "string",
      "default": "Please enter password to wath the video"
    },

    "startTime": {
      "type": "number",
      "default": 0
    },



 
    "saveState": {
      "type": "boolean",
      "default": true
    }
  },
  "supports": {
    "html": false,
    "lock": false,
    "reusable": false
  },
  "example": {
    "attributes": {
      "preview": true
    }
  },
  "viewScript": "file:./../../dist/frontend.js",
  "style": "file:./../../dist/frontend.css"
}
