public function ProviderPluginBase::getLocalThumbnailUri in Video 8
Same name and namespace in other branches
- 8.2 src/ProviderPluginBase.php \Drupal\video\ProviderPluginBase::getLocalThumbnailUri()
Get the URL to the local thumbnail.
Return value
string The URI for the local thumbnail.
2 calls to ProviderPluginBase::getLocalThumbnailUri()
- ProviderPluginBase::downloadThumbnail in src/
ProviderPluginBase.php - Download the remote thumbnail to the local file system.
- ProviderPluginBase::renderThumbnail in src/
ProviderPluginBase.php
File
- src/
ProviderPluginBase.php, line 139
Class
- ProviderPluginBase
- A base for the provider plugins.
Namespace
Drupal\videoCode
public function getLocalThumbnailUri() {
$data = $this
->getVideoMetadata();
return $this
->getUploadLocation() . '/' . $data['id'] . '.png';
}