Make WordPress Core

Opened 5 years ago

Last modified 5 years ago

#50172 new defect (bug)

Flickr embed not embedding content

Reported by: josephdickson's profile joseph.dickson Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 5.4.1
Component: Embeds Keywords: needs-patch
Focuses: Cc:

Description

Flickr albums or collections from a "sharing url" do not embed.

Steps to reproduce

  1. Visit a Flickr album
  2. Use the sharing features on Flickr to provide their tiny-url such as https://flic.kr/s/aHsmLCQa2e
  3. try embedding this url into a Flickr block.

Possible fix
Update block to recognize alternate flickr domain.
https://flic.kr/s/aHsmLCQa2e

Watch this brief video for a workflow example in Twenty Twenty.
https://www.linuxbookpro.com/flickr-wordpress-block-not-working/

Special Notes
Full URLs work but users may not be aware to test both
https://www.flickr.com/photos/nasa2explore/albums/72157713265937611

Problem exists using Gutenberg Beta plugin a well.

Change History (2)

#1 @SergeyBiryukov
5 years ago

  • Component changed from General to Embeds

#2 @earnjam
5 years ago

Their oEmbed doesn't recognize their short links. Using your example short URL returns a 404:
https://www.flickr.com/services/oembed/?format=json&url=https%3A//flic.kr/s/aHsmLCQa2e

There isn't way for us to determine the full URL from the shortened ones without hitting the redirect first and then transforming it.

I think the right solution is to try to report upstream to see if they could fix their oEmbed endpoint to recognize their own short URLs.

Note: See TracTickets for help on using tickets.