Reputation: 121
I'm getting an error using Google's Drive API. Since the videos I want to host on my website are larger than 200 MB, I've been using the Drive API to create a direct download link to use as my video source. I was able to do this by using the ID of the video and an API key from my Google Dev Console and creating a link that looks like this:
https://www.googleapis.com/drive/v3/files/videoID?alt=media&key=APIkey
However, as of late, I've been receiving this error when the video link is clicked:
{
"error": {
"errors": [
{
"domain": "usageLimits",
"reason": "dailyLimitExceededUnreg",
"message": "Daily Limit for Unauthenticated Use Exceeded. Continued use requires signup.",
"extendedHelp": "https://code.google.com/apis/console"
}
],
"code": 403,
"message": "Daily Limit for Unauthenticated Use Exceeded. Continued use requires signup."
}
}
Is there a way to increase the limit of unauthenticated use without needing to have the user sign up?
Upvotes: 0
Views: 422
Reputation: 1728
As mentioned here, you can embed your videos into your web page rather than get the file through the Google Drive API.
Bear in mind:
Having that said I strongly recommend you to use <iframe>
, since you are using this file in a <video>
tag.
Upvotes: 1