system/Text/Parser.php
/* Flickr when used in the video template is a bit quirky. Requires rich. */
if ( $domain == 'flickr.com' OR $domain == 'flic.kr' )
{
$response['type'] = ( $response['type'] == 'video' ) ? 'rich' : 'photo';
}
Я нашел 3 вида типов:
- rich.
https://www.flickr.com/services/oembed/?url=https://www.flickr.com/photos/bhaktimarga/albums/72157709170876597
- photo.
https://www.flickr.com/services/oembed/?url=https://www.flickr.com/photos/bhaktimarga/48096516486/in/album-72157709170876597/
- video.
https://www.flickr.com/services/oembed/?url=https://www.flickr.com/photos/[email protected]/4313010733/in/photolist-7z8iQ2-2gthFp5-8e3Scb-9uAqBi-7HCcMv-rgoUNi-7D4tjg-6bvHfx-7n91yK-6Pi4i2-duvuFw-dtsgr2-dF1iQP-duvrFm-9zT5pn-cM9ZVu-5bbYPw-k4BetM-dai9cM-d9TTUk-57nwq4-dbLRDd-8pF4v1-fppLY8-fpE2Yo
А в коде проверяется, если video, то rich, иначе - photo.
Можно вышеуказанный код заменить на
/* Flickr when used in the video template is a bit quirky. Requires rich. */
if ( ($domain == 'flickr.com' OR $domain == 'flic.kr') and $response['type'] == 'video' )
{
$response['type'] = 'rich';
}