You are here

public function BrightcovePlayer::getWidth in Brightcove Video Connect 8

Same name and namespace in other branches
  1. 8.2 src/Entity/BrightcovePlayer.php \Drupal\brightcove\Entity\BrightcovePlayer::getWidth()
  2. 3.x src/Entity/BrightcovePlayer.php \Drupal\brightcove\Entity\BrightcovePlayer::getWidth()

Returns the width of the player.

Return value

float The width of the player.

Overrides BrightcovePlayerInterface::getWidth

File

src/Entity/BrightcovePlayer.php, line 78

Class

BrightcovePlayer
Defines the Brightcove Player.

Namespace

Drupal\brightcove\Entity

Code

public function getWidth() {
  return $this
    ->get('width')->value;
}