Skip to content
Snippets Groups Projects

3447326:Get large thumbnail.

Open Sahana N requested to merge issue/drupal-3447326:3447326-get-large-thumbnail-11.x into 11.x
2 unresolved threads

Closes #3447326

Merge request reports

Members who can merge are allowed to add commits.

Merge request pipeline failed for 2e7680e4

Approval is optional
Code Quality is loading
Test summary results are being parsed
Ready to merge by members who can write to the target branch.
  • The source branch is 1121 commits behind the target branch.
  • 1 commit will be added to 11.x.
  • Source branch will not be deleted.

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
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) {
  • 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') {
  • Sahana N added 1 commit

    added 1 commit

    • 50172216 - 3447326:Get large thumbnail.

    Compare with previous version

  • David Bätge added 1 commit

    added 1 commit

    • 6006b06f - 3447326: Added check for YouTube oembed provider if maxresdefault image is available.

    Compare with previous version

  • added 1 commit

    • 3eca2601 - improve error handling for youtube and vimeo, refactor to their own methods

    Compare with previous version

  • added 1 commit

    Compare with previous version

  • added 1 commit

    • 2e7680e4 - support non-default images selected for the preview

    Compare with previous version

  • Please register or sign in to reply
    Loading