@Override
	public boolean isVisible() {
		if (!super.isVisible()) {
			return false;
		}

		Video[] video = getVideo();
		return video != null && video.length > 0;
	}
@ Override public boolean isVisible ( ) { if ( ! super . isVisible ( ) ) { return false ; } Video [ ] video = getVideo ( ) ; return video != null && video . length > 0 ; }
Override isVisible to also return false if there are no video clips to play.

@return true if this component is visible in the given context, otherwise false.