class WXVideo extends WXComponent<FrameLayout> {

  @Override
  protected boolean setProperty(String key, Object param) {
    switch (key) {
      case Constants.Name.SRC:
        String src = WXUtils.getString(param, null);
        if (src != null) {
          setSrc(src);
        }
        return true;
      case Constants.Name.AUTO_PLAY:
        Boolean result = WXUtils.getBoolean(param, null);
        if (result != null) {
          setAutoPlay(result);
        }
        return true;
      case Constants.Name.PLAY_STATUS:
        String status = WXUtils.getString(param, null);
        if (status != null) {
          setPlaystatus(status);
        }
        return true;
    }
    return super.setProperty(key, param);
  }

  @Deprecated public  WXVideo(WXSDKInstance instance, WXVContainer parent, String instanceId, boolean isLazy, BasicComponentData basicComponentData);
  public  WXVideo(WXSDKInstance instance, WXVContainer parent, boolean isLazy, BasicComponentData basicComponentData);

}