public function BrightcovePlayer::setWidth in Brightcove Video Connect 8
Same name and namespace in other branches
- 8.2 src/Entity/BrightcovePlayer.php \Drupal\brightcove\Entity\BrightcovePlayer::setWidth()
- 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\EntityCode
public function setWidth($width) {
return $this
->set('width', $width);
}