file upload - Error in uploading the Large video over 100MB on youtube via php youtube Google api v3 -
i facing issue when upload video has size more 100mb on youtube via google php api v3. working fine small video less 100mb.i have followed tutorial https://www.domsammut.com/code/php-server-side-youtube-v3-oauth-api-video-upload-guide
this error getting larger video
warning: filesize(): stat failed uploads/20150618_112657.mp4 in/home/n001pr5/public_html/youtube2/upload.phpon line 99 warning: fopen(uploads/20150618_112657.mp4): failed open stream: no such file or directory in/home/n001pr5/public_html/youtube2 /upload.phpon line 105 warning: feof() expects parameter 1 resource, boolean given in/home/n001pr5/public_html/youtube2/upload.phpon line 106 warning: fread() expects parameter 1 resource, boolean given in/home/n001pr5/public_html/youtube2/upload.phpon line 107 caught google service exception 400 message error calling put https://www.googleapis.com/upload/youtube/v3/videos?part=status%2csnippet&uploadtype=resumable& upload_id=aenb2urmv5ueozrfup7qtihqcjuekuomvxbeah9n1fbhxxf4brklyw3l786j8dhc1eg 9yuyd71db3y46x4q8enmxky4vkwuzcg: (400) failed parse content-range header.stack trace #0 /home/n001pr5/public_html/youtube2/api/src/google/http/mediafileupload.php(183): google_http_rest::decodehttpresponse(object(google_http_request), object(google_client)) #1 /home/n001pr5/public_html/youtube2/upload.php(108): google_http_mediafileupload->nextchunk(false) #2 {main} status: success
Comments
Post a Comment