修复视频播放问题
This commit is contained in:
@@ -22,7 +22,7 @@ if($_GET['operation']=='progress'){
|
||||
//$rid = dzzdecode($_GET['path'],'',0);
|
||||
if(strpos($rid, 'attach::') === 0){
|
||||
$resourcesdata = C::t('attachment')->fetch(intval(str_replace('attach::', '', $path)));
|
||||
|
||||
$resourcesdata['iswebsitefile'] = 1;
|
||||
}else{
|
||||
$resourcesdata = C::t('pichome_resources')->fetch_data_by_rid($rid);
|
||||
}
|
||||
@@ -119,7 +119,12 @@ if($_GET['operation']=='progress'){
|
||||
}
|
||||
|
||||
}else{
|
||||
$src=IO::getFileuri($resourcesdata['path']);
|
||||
if(!$resourcesdata['iswebsitefile'] && $resourcesdata['bz'] == 'dzz::'){
|
||||
$src = getglobal('siteurl') . 'index.php?mod=io&op=getStream&path=' . dzzencode($rid.'_3', '', 14400, 0);
|
||||
}else{
|
||||
$src=IO::getFileuri($resourcesdata['path']);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user