3447326:Get large thumbnail.
2 unresolved threads
2 unresolved threads
Closes #3447326
Merge request reports
Activity
Filter activity
79 85 return $this->createResource($data, $url); 80 86 } 81 87 88 /** 89 * Do request to Vimeo v2 API to return large thumbnail. 90 * 91 * @param array $data 92 * The video data. 93 * 94 * @return array 95 * return large thumbnail 96 * 97 * @throws \Drupal\media\OEmbed\ResourceException 98 * @throws \GuzzleHttp\Exception\GuzzleException 99 */ 100 protected function doVimeoRequest($data) { changed this line in version 2 of the diff
74 73 throw new ResourceException('The oEmbed resource could not be decoded.', $url); 75 74 } 76 75 76 if (isset($data['provider_name']) && $data['provider_name'] === 'Vimeo') { changed this line in version 4 of the diff
added 1 commit
- 6006b06f - 3447326: Added check for YouTube oembed provider if maxresdefault image is available.
added 1 commit
- 3eca2601 - improve error handling for youtube and vimeo, refactor to their own methods
added 1 commit
- 2e7680e4 - support non-default images selected for the preview
Please register or sign in to reply