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_embed_height( $width )
Calculate height based on width
Parameters
- $width
-
(Required)
Return
(false|float)
Source
File: includes/libs/player/player.class.php
private function get_embed_height( $width ){ return Helper::calculate_player_height( $this->options['aspect_ratio'], $width, $this->options['size_ratio'] ); }