[wp-trac] [WordPress Trac] #28195: Preview embeds with wpview and auto embed on paste
WordPress Trac
noreply at wordpress.org
Tue May 27 20:53:06 UTC 2014
#28195: Preview embeds with wpview and auto embed on paste
-------------------------+-------------------------
Reporter: avryl | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 4.0
Component: Media | Version:
Severity: normal | Resolution:
Keywords: has-patch | Focuses: javascript
-------------------------+-------------------------
Comment (by wonderboymusic):
Instagram (currently) is taking about 10 seconds to alternately return 502
Bad Gateway or 200 with a response that contains a broken image.
Our default timeout is 5 seconds.
Might not be the worst idea ever to create our own embed handler for
Instagram that fixes both issues:
* Increase the timeout
* change the end of the image URL from `_7.jpg` to `_8.jpg` after
requesting `*_8.jpg` and confirming that it returns 200.
Both are giant hacks and the internet is the wild wild west.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28195#comment:18>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list