You are here

public function BrightcovePlayer::setWidth in Brightcove Video Connect 8.2

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

Sets the width of the player.

Parameters

float $width: The width of the player.

Return value

\Drupal\brightcove\BrightcovePlayerInterface The called Brightcove Player.

Overrides BrightcovePlayerInterface::setWidth

File

src/Entity/BrightcovePlayer.php, line 85

Class

BrightcovePlayer
Defines the Brightcove Player.

Namespace

Drupal\brightcove\Entity

Code

public function setWidth($width) {
  return $this
    ->set('width', $width);
}