Project

General

Profile

Actions

Task #84483

closed

Respect alternative fallback for 16:9 youtube preview image

Added by Guido S. over 6 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Target version:
-
Start date:
2018-03-19
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
no-brainer
Sprint Focus:

Description

Scenario:
User add a youtube video via file list. Example: https://www.youtube.com/watch?v=ew6_lYiGWo4

Current state:
The YouTubeHelper get the preview image via "maxresdefault.jpg" (16:9 or 1280x720) If this image isn't available (404 code) the fallback is the 0.jpg (4:3 or 480x360) But maxresimage isn't available for all videos " This image size is available for some videos and other resources that refer to videos, like playlist items or search results."

Possible workaround:
To respect another 16:9 format source, we could add another fallback before "0.jpg": "mqdefault.jpg" (320x180)

Sources:

Further discussion:
https://stackoverflow.com/questions/34763547/youtube-maxresdefault-thumbnails

Releases: master, 8.7

Actions #1

Updated by Guido S. over 6 years ago

  • Assignee set to Guido S.
  • Complexity set to no-brainer
Actions #2

Updated by Gerrit Code Review over 6 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56371

Actions #3

Updated by Gerrit Code Review over 6 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56371

Actions #4

Updated by Gerrit Code Review over 6 years ago

Patch set 1 for branch TYPO3_8-7 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56420

Actions #5

Updated by Guido S. over 6 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #6

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF