getRemoteThumbnailUrl() for YouTube returns http thumbnail path.

Created on 1 November 2021, over 2 years ago
Updated 21 June 2023, about 1 year ago

Problem/Motivation

getRemoteThumbnailUrl() is returning path to video thumbnail in http protocol. YouTube is redirecting automatically to https, but problem is if thumbnail path appears on HTTPS page browser will complain for mixing HTTP & HTTPS protocols on the same page.

web/modules/contrib/video_embed_field/src/Plugin/video_embed_field/Provider/YouTube.php getRemoteThumbnailUrl() method.

Steps to reproduce

Proposed resolution

Probably would be good enough just to generate HTTPS type of url.

Remaining tasks

πŸ› Bug report
Status

RTBC

Version

2.4

Component

Code

Created by

πŸ‡¦πŸ‡ΉAustria golubovicm

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • @hitchshock opened merge request.
  • @hitchshock opened merge request.
Production build 0.69.0 2024