WordPress.org

Make WordPress Core

Opened 3 months ago

Last modified 3 months ago

#50172 new defect (bug)

Flickr embed not embedding content

Reported by: 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
3 months ago

  • Component changed from General to Embeds

#2 @earnjam
3 months 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.