public function BrightcoveVideoInterface::setDuration in Brightcove Video Connect 8
Same name and namespace in other branches
- 8.2 src/BrightcoveVideoInterface.php \Drupal\brightcove\BrightcoveVideoInterface::setDuration()
- 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\brightcoveCode
public function setDuration($duration);