You are here

public function BrightcoveVideoInterface::setDuration in Brightcove Video Connect 8

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

Sets the video duration.

Parameters

int $duration: The duration of the video.

Return value

\Drupal\brightcove\BrightcoveVideoInterface The called Brightcove Video.

1 method overrides BrightcoveVideoInterface::setDuration()
BrightcoveVideo::setDuration in src/Entity/BrightcoveVideo.php
Sets the video duration.

File

src/BrightcoveVideoInterface.php, line 151

Class

BrightcoveVideoInterface
Provides an interface for defining Brightcove Videos.

Namespace

Drupal\brightcove

Code

public function setDuration($duration);