Karthikkumar
Karthikkumar

Reputation: 279

How to download a video file stored in google cloud storage on my web page?

I am planning to use google app engine and host my web site. Users should be able to upload video files to google cloud storage and also download from it.

Is there any java script library with which browser can download the video file directly bypassing the app engine?

If it cant be done directly, what are some other approaches?

Thanks in advance.

Upvotes: 0

Views: 4867

Answers (1)

Brandon Yarbrough
Brandon Yarbrough

Reputation: 38389

Are the videos publicly visible? If so, you can simply have users download the objects directly from GCS by having them fetch the URL "https://storage.googleapis.com/BUCKET_NAME/OBJECT_NAME".

If the objects are private, you can sign the URL to accomplish the same goal.

Upvotes: 1

Related Questions