@Override
  public int getPreferredHeight() {
    // The superclass uses getOffsetHeight, which won't work for us.
    return ComponentConstants.VIDEOPLAYER_PREFERRED_HEIGHT;
  }
@Override
  public int getPreferredHeight() {
   
    return ComponentConstants.VIDEOPLAYER_PREFERRED_HEIGHT;
  }
@override public int getpreferredheight() { return componentconstants.videoplayer_preferred_height; }