Skip to main content

developerWorks >  XML  >  Forums  >  developerWorks XML zone: Share your thoughts  >  developerWorks

Related video not working    Point your RSS reader here for a feed of the latest messages in this thread


Tags for this thread: 

     

 
 

My developerWorks
 Welcome, Guest
Sign in or register
Permlink Replies: 1 - Pages: 1 - Last Post: Feb 6, 2009 3:59 PM Last Post By: v_dulcimer
ZimXaM

Posts: 1
Registered: Jan 31, 2009 02:09:07 AM
Related video not working
Posted: Jan 31, 2009 02:11:14 AM
Click to report abuse...   Click to reply to this thread Reply
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

v_dulcimer

Posts: 4
Registered: Nov 16, 2005 10:33:35 AM
Re: Related video not working
Posted: Feb 06, 2009 03:59:05 PM   in response to: ZimXaM in response to: ZimXaM's post
Click to report abuse...   Click to reply to this thread Reply
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.
 Tags
Help

Use the search field to find all types of content in My developerWorks with that tag.

Use the slider bar to see more or fewer tags.

Popular tags shows the top tags for this particular type of content or application that you're viewing.

My tags shows your tags for this particular type of content or application that you're viewing.

 

MoreLess 


Point your RSS reader here for a feed of the latest messages in all forums