1
"RecordingDetails"가 포함되는 즉시 모든 YouTube 업로드 호출이 실패합니다. YouTube API PHP V3 : RecordingDetails로 업로드 (Google API 클라이언트 V2)
간단한 전화 (추출) 다음$rc=new \Google_Service_YouTube_VideoRecordingDetails();
$rc->setRecordingDate('2016-08-02T21:17:00.000Z');
$video->setRecordingDetails($rc);
이 실패합니다. 나는 또한 위치와 시도 :
는$rc=new \Google_Service_YouTube_VideoRecordingDetails();
$ld=new \Google_Service_YouTube_GeoPoint();
$ld->setLatitude(36.527294814546);
$ld->setLongitude(128.5400390625);
$rc->setLocation($ld);
$video->setRecordingDetails($rc);
같은 오류가 발생합니다. 는 또한 오류 메시지 : 정말 helpfull하지
"error": {
"errors": [
{
"domain": "youtube.part",
"reason": "unexpectedPart",
"message": "{0}",
"locationType": "parameter",
"location": "part"
}
],
"code": 400,
"message": "{0}"
}
}
사람이 이미 API 광고 V3와 구글 클라이언트 V2와 RecordingDetail과 비디오를 업로드 언급 했습니까? RecordingDetails 개체의 모습을 어떻게
사람이 여기에 관심이 있다면입니다
Google_Service_YouTube_VideoRecordingDetails Object
(
[locationType:protected] => Google_Service_YouTube_GeoPoint
[locationDataType:protected] =>
[locationDescription] =>
[recordingDate] => 2016-08-02T21:17:00.000Z
[internal_gapi_mappings:protected] => Array
(
)
[modelData:protected] => Array
(
)
[processed:protected] => Array
(
)
[location] => Google_Service_YouTube_GeoPoint Object
(
[altitude] =>
[latitude] => 36.527294814546
[longitude] => 128.5400390625
[internal_gapi_mappings:protected] => Array
(
)
[modelData:protected] => Array
(
)
[processed:protected] => Array
(
)
)
)
감사합니다, 크리스토프