clipbucket/upload/player/hd_flv_player/settings.php
Arslan Hassan 280d287981 Added : Playlist System
Added : Ajax System
Added : Ajax comments
Added : New rating
Added : Ajax Add to favorites
Added : Ajax share this
Added : Ajax Flag Video
Added : new watch video page
Added : New ClipBucket V2 Template
2009-11-30 19:46:45 +00:00

28 lines
935 B
PHP

<?php
/**
* ClipBucket Player v2 Settings File
*/
include('../../includes/common.php');
$vid = $_GET['vid'] ;
$vid = $vid ? $vid : $_GET['hqid'];
if($_GET['hqid'])
$hd = 'yes';
$v = $cbvideo->get_video($vid);
header ("content-type: text/xml");
echo '<?xml version="1.0" encoding="UTF-8"?>';
?>
<playlist autoplay="false" random="false">
<mainvideo url="<?php if($hd=='yes') echo @get_hq_video_file($v); else echo @get_video_file($v,true,true); ?>"
hd="<?php if(@has_hq($v,true)) echo 'true'; else echo 'false'; ?>"
hdpath="<?php echo @get_hq_video_file($v);?>"
id="100"
thu_image=""
Preview=""
preroll="false"
midroll="false"
postroll="false"
allow_download="false">
</mainvideo>
</playlist>