You are here

public function BrightcovePlayer::setResponsive in Brightcove Video Connect 8.2

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

Sets the responsive indicator.

Parameters

bool $is_responsive: TRUE if the player is responsive, FALSE if fixed.

Return value

\Drupal\brightcove\BrightcovePlayerInterface The called Brightcove Player.

Overrides BrightcovePlayerInterface::setResponsive

File

src/Entity/BrightcovePlayer.php, line 113

Class

BrightcovePlayer
Defines the Brightcove Player.

Namespace

Drupal\brightcove\Entity

Code

public function setResponsive($is_responsive) {
  return $this
    ->set('responsive', $is_responsive);
}