Ejemplo n.º 1
0
                $singleVideodata = $contOBJ->video_detail($getVid);
                // Get detail for particular video
            } else {
                if (!empty($getPid)) {
                    $singleVideodata = $contOBJ->video_Pid_detail($getPid, 'playxml', $numberofvideos);
                    // Get detail for particular playlist
                } else {
                    $singleVideodata = $pageOBJ->_featuredvideodata;
                    // Get detail of featured videos
                }
            }
        }
    }
}
$settingsContent = $pageOBJ->settings_data();
$tagsName = $pageOBJ->Tag_detail($getVid);
$islive = $streamer = $videoPreview = $videotag = $postroll_id = $subtitle = '';
$pageOBJ->_imagePath = APPTHA_VGALLERY_BASEURL . 'images' . DS;
// declare image path
// autoplay value
if ($settingsContent->playlistauto == 1) {
    $ap = 'true';
} else {
    $ap = 'false';
}
$dir = dirname(plugin_basename(__FILE__));
$dirExp = explode('/', $dir);
$dirPage = $dirExp[0];
$image_path = str_replace('plugins/' . $dirPage . '/', 'uploads/videogallery/', APPTHA_VGALLERY_BASEURL);
// playlist XML starts here
header('content-type:text/xml;charset = utf-8');