Committer: akanashin
LJSUP-13907: Video placeholders should be on the page instead of videoU trunk/cgi-bin/LJ/S2/FriendsPage.pm U trunk/cgi-bin/cleanhtml.pl
Modified: trunk/cgi-bin/LJ/S2/FriendsPage.pm =================================================================== --- trunk/cgi-bin/LJ/S2/FriendsPage.pm 2012-11-01 11:31:05 UTC (rev 23236) +++ trunk/cgi-bin/LJ/S2/FriendsPage.pm 2012-11-01 11:53:27 UTC (rev 23237) @@ -359,7 +359,7 @@ 'posterid' => $entry_obj->posterid, 'img_placeholders' => $replace_images_in_friendspage, 'video_placeholders' => $replace_video, - 'embedplaceholders' => 1, + 'placeholders' => 1, }); LJ::expand_embedded( Modified: trunk/cgi-bin/cleanhtml.pl =================================================================== --- trunk/cgi-bin/cleanhtml.pl 2012-11-01 11:31:05 UTC (rev 23236) +++ trunk/cgi-bin/cleanhtml.pl 2012-11-01 11:53:27 UTC (rev 23237) @@ -759,7 +759,7 @@ if ($entry && $entry->valid) { $ditemid = $entry->ditemid; } - $data_ids = qq(data-widget='ljcut' data-widget-options='{ "journalid": "$journalid", "ditemid": "$ditemid", "cutid": "$cutcount", "embedplaceholders" : $embedplaceholders }'); + $data_ids = qq(data-widget='ljcut' data-widget-options='{ "journalid": "$journalid", "ditemid": "$ditemid", "cutid": "$cutcount", "placeholders" : $placeholders }'); } $newdata .= "<b $data_ids class=\"ljcut-link lj-widget\"><span class='ljcut-brace'>( </span><span class=\"ljcut-decor\"><a href=\"$url#cutid$cutcount\" class=\"ljcut-link-expand\">$etext</a>"; $newdata .= "<a href=\"$url#cutid$cutcount\" class=\"ljcut-link-collapse\">".Encode::decode_utf8(LJ::Lang::ml("ljcut.collapse"))."</a>" unless $opts->{no_ljcut_collapse};