Opened 5 years ago
Last modified 5 years ago
#50172 new defect (bug)
Flickr embed not embedding content
Reported by: |
|
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
- Visit a Flickr album
- Use the sharing features on Flickr to provide their tiny-url such as https://flic.kr/s/aHsmLCQa2e
- 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.
Note: See
TracTickets for help on using
tickets.
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.