This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.

Player::get_max_height()

Get the maximum height, if anu


Return

(false|int)


Source

File: includes/libs/player/player.class.php

	private function get_max_height(){
		/**
		 * Filter that allows a maximum height to be set for the embeds.
		 *
		 * @param int $height   The maximum height that players must have.
		 */
		$max_height = absint( apply_filters( 'vimeotheque\player\max_height', $this->options['max_height'] ) );

		if( $max_height < 50 ){
			$max_height = false;
		}

		return $max_height;
	}

Start your video site now!

Manage and coordinate your Vimeo channels, albums or videos with your WordPress website. Perfect fit for membership, portfolio, online courses or any type of video collection.

Get Vimeotheque PRO!