");
}
$related_image_objs = $related_media_objs[0];
$related_video_objs = $related_media_objs[1];
if ($related_image_objs)
{
e("
";
$txt.= "";
foreach ($related_video_objs as $related_video_obj)
{
$src = $related_video_obj->getSource();
$id = $related_video_obj->getID();
$description = $related_video_obj->getDescription();
if ("YouTube" == $src)
{
$external_link = $related_video_obj->getKey1();
$thumbnail = "$src.jpg";
$txt.= "
";
}
else
{
$thumbnail = str_replace(".mov",".jpg",$src);
$txt.= "
";
}
}
$txt.= "