Google Photos API Video byte stream url experation - google-photos-api

Would anyone know the duration/expiration time on the video byte stream url from the google photos api?
The one I am referring to is Here where it talks about having base-url=dv

Related

how to host mp3 file with koa framework

I'm coding API server to be used in mp3 app.
I've used koa-send, koa-static, and just setting mp3 file to response-body.
But, no matter what API the app uses, the app stops. When I sent the length of the MP3 file separately because the app did not seem to accept the length of the MP3 file, it worked on iOS but not on Android.
If I post the same MP3 file on S3 and send request to that URL, it worked well, so I can't understand what the problem is.
Also, if I play music on Safari using my API, it comes out as a live broadcast. (using other sites, it comes in the form of mp3)
If it's a problem that you don't know how long it's playing, why is it the same file, but not on other sites, and not on my API?
Other storage site:
My API:

Can I record and upload video on Youtube API?

Can I use the YoutubeAPI on a web-app to record and save/upload a video with out it being broadcast live?
Use the method Videos: insert to upload video using YouTube api. About saving/downloading, I think, it's against their Terms of Service.
You shall not download any Content unless you see a “download” or
similar link displayed by YouTube on the Service for that Content.
You can see this SO post for further reference on downloading content in YouTube.
Youtube does not support recording straight to their platform anymore.
https://support.google.com/youtube/answer/57409?hl=en

Upload videos to twitter from url in node

In my app I want to post a video to multiple networks (fb, twitter...), i'm uploading video to cloudinary and it sends back url, which I use to post to fb.
For twitter, there is no way to post a video with the url. Is there any alternatives to do this?
My server size is pretty low, like 1-2GB, so I can't download a video to my server and then create a stream to upload to twitter. I worry that if 3-4 users started to upload then my server will crash with out of memory.
Any suggestions using twit package or Simple HTTP Requests are welcome. Thanks
I had found an interesting article on how to upload your files to third party. Streaming File Uploads to Storage Server with Node.js
So you can update the code from the example with your twitter upload code.

Checking the progress of a video uploading to YouTube - Unpublished Videos

Is there a url I can go to to check the status of video I am uploading to YouTube via the API?
I went to this page
https://developers.google.com/youtube/2.0/developers_guide_protocol_checking_video_status
which told me to go to this URL
https://gdata.youtube.com/feeds/api/users//uploads
But all I got back is an RSS feed of videos that are already uploaded (Published).
I am looking for unpublished videos and the associated progress.
I am using resumable upload so I am think if 10% of the video got uploaded I should be able to see that somewhere?
In Java sample you can request progress status via MediaHttpUploader.getProgress() or MediaHttpUploader.getNumBytesUploaded() "https://code.google.com/p/youtube-api-samples/source/browse/samples/java/youtube-cmdline-uploadvideo-sample/src/main/java/com/google/api/services/samples/youtube/cmdline/youtube_cmdline_uploadvideo_sample/UploadVideo.java#213"
C# would be really similar.

Get YouTube video comments in my website

In my website i got succeeded in embedding videos from YouTube but i'm not getting the comments made on that videos. So is there any way to get that comments embedded with the video in my website. Thanks in advance.
Th easiest way to access YouTube data, without authentication or the YouTube API, is by using the YouTube Query URLS.
For Comments, process this URL:
http://gdata.youtube.com/feeds/api/videos/{$videoId}/comments
Additional meta data on the video can be accessed using processing this URL:
http://gdata.youtube.com/feeds/api/videos/{$videoId}

Resources