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