Committer: vtroitsky
OPSC-8992: get_youtube_id parameter for LJ::EmbedModule::expand_entry renamed into get_video_id, due to this feature has been working now for Vimeo, RuTube, Yandex, Mail.Ru additionally. U trunk/cgi-bin/LJ/SUP/RPC/Command/get_recent_entries.pm
Modified: trunk/cgi-bin/LJ/SUP/RPC/Command/get_recent_entries.pm =================================================================== --- trunk/cgi-bin/LJ/SUP/RPC/Command/get_recent_entries.pm 2011-06-09 07:38:19 UTC (rev 10615) +++ trunk/cgi-bin/LJ/SUP/RPC/Command/get_recent_entries.pm 2011-06-09 07:50:23 UTC (rev 10616) @@ -104,8 +104,8 @@ ## subject and event must be stored in tags (<subject>...</subject>), ## not attributes, since \n in attributes are substituted with spaces $h{subject} = [ $logtext->{$itemid}->[0] ]; #[ $entry->subject_raw ]; - # get video ID for youtube embed objects - LJ::EmbedModule->expand_entry($journal,\$logtext->{$itemid}->[1],get_youtube_id => 1); + # get video ID for video embed objects, LJSUP-8992 + LJ::EmbedModule->expand_entry($journal,\$logtext->{$itemid}->[1],get_video_id => 1); $h{event} = [ $logtext->{$itemid}->[1] ]; #[ $entry->event_raw ]; $h{replies} = $entry->reply_count; $h{security} = $entry->is_suspended ? "suspended" : $entry->security;