Embed youtube player has own streaming system, so lighttpd option shouldn't be used for it.
Though we do not support free client's streaming issues, we try to post a fix for that.
Edit file "nuevo/config.php",
Find a line:
- Code: Select all
$sql="select VID, thumb from video where vkey='".mysql_real_escape_string($key)."' limit 1";
Change it to:
- Code: Select all
$sql="select VID, thumb, embed_code from video where vkey='".mysql_real_escape_string($key)."' limit 1";
FInd code:
- Code: Select all
if($set['streamhttp']=='1' && strlen($set['streamscript'])>0) {
print "<streamscript>".$set['streamscript']."</streamscript>\n"; }
Replace it with:
- Code: Select all
if($set['streamhttp']=='1' && strlen($set['streamscript'])>0 && strlen($row['embed_code']==0) ) {
print "<streamscript>".$set['streamscript']."</streamscript>\n"; }
Repeat same steps in file "econfig.php"