Topic
1 reply Latest Post - ‏2009-02-06T20:59:05Z by v_dulcimer
SystemAdmin
SystemAdmin
28 Posts
ACCEPTED ANSWER

Pinned topic Related video not working

‏2009-01-31T07:11:14Z |
This line of code is not working anymore... ?

if ($video->relatedURL) {
$relatedFeed = simplexml_load_file($video->relatedURL);
echo "<tr><td colspan=\"2\">

" .
$relatedFeed->title . "

</td></tr>\n";
foreach ($relatedFeed->entry as $related) {
$relatedVideo = parseVideoEntry($related);
echo "<tr>\n";
echo "<td>watchURL}\">
thumbnailURL\"/>
</td>\n";
echo "<td>watchURL}\">
{$relatedVideo->title}

\n";
echo sprintf("%0.2f", $relatedVideo->length/60) . " min. |
{$relatedVideo->rating} user rating | {$relatedVideo->viewCount}
views
\n";
echo $relatedVideo->description . "</td>\n";
echo "</tr>\n";
}
}
Anyone have a solution?

Maxime
Updated on 2009-02-06T20:59:05Z at 2009-02-06T20:59:05Z by v_dulcimer
  • v_dulcimer
    v_dulcimer
    3 Posts
    ACCEPTED ANSWER

    Re: Related video not working

    ‏2009-02-06T20:59:05Z  in response to SystemAdmin
    If you viewed an article or tutorial on developerWorks when you experienced this error, please indicate the URL for the article/tutorial. I'm the Web editor for the XML area and might be able to help you with this.