I still cant get it working now i found something on the internet some magpierss tutorial with attributes and i made this:

echo "<table width='600' border='1'>";

foreach ($rss->items as $item ) {
    $title = $item[title];
    $url = $item[link];
    $mediacontent = $item[mediacontent@url];
   
    echo "<tr>";
    echo "<td width='288' rowspan='2'><img src=$mediacontent></td>";
    echo "<td height='10'><a href=$url>$title</a></td>";
      echo "</tr>";
      echo "<tr>";
    echo "<td>&nbsp;</td>";
      echo "</tr>";
}

echo "</table>";



and now i get the following error:
Parse error
: syntax error, unexpected '@', expecting ']' in C:\wamp\www\magpierss\videotest.php on line 13