2014-11-04 151 views

回答

1

只需插入下面的上傳文件

$htmlBody .= "<h3>Video Uploaded</h3><ul>"; $htmlBody .= sprintf('<li>%s (%s)</li>', $status['snippet']['title'], $status['id']); $htmlBody .= '</ul>';

後不要忘記setDefer設置爲false

$client->setDefer(false); 
+0

或者乾脆添加以下內容 $ video_key = $ status ['id']; echo $ video_key; – 2015-04-08 05:47:04

相關問題