Comments (4)
Hello -- the Google Drive authentication only works within the Vimeo UI, it doesn't work for API based pull uploads.
Do do an API based pull upload, you need to use the actual Google Drive link, not a sharing link.
For example, if your share link is https://drive.google.com/file/d/ID_GOES_HERE/view?usp=sharing, The file link is https://drive.google.com/uc?export=download&id=ID_GOES_HERE
Note that the file must be shared to "Anyone with the link" in Google, and this isn't an officially supported API on Google's end, and is subject to change without notice.
from vimeo.php.
how about this link to an actual video on the internet which still doesn't work
This is the link from my question https://www.learningcontainer.com/wp-content/uploads/2020/05/sample-mp4-file.mp4
Just out of curiosity, is there anything i am missing, like permission from the vimeo dashboard end
from vimeo.php.
Ah, your request is also slightly off, you need to namespace under the "upload" for the pull details, so something like
$lib->request('/me/videos', [
'name' => 'New Video 1',
'upload' => [
'approach' => 'pull',
"link"=> "https://www.learningcontainer.com/wp-content/uploads/2020/05/sample-mp4-file.mp4"
]
]);
from vimeo.php.
works now
Thanks
from vimeo.php.
Related Issues (20)
- stats.plays is at null HOT 1
- Can't upload subtitles via API HOT 4
- Not able to upload video from my local computer
- Chapters API HOT 2
- Configurable return parameters - upload function
- Your Composer dependencies require a PHP version “>= 8.0.2”. You are running 8.0.0
- About Video Editor API from Vimeo HOT 1
- Doesn't upload on Windows due to bug in tus-php
- hidden videos in showcase not returned with api HOT 7
- Making a HEAD {upload.upload_link} request using your PHP SDK HOT 2
- Consistently 502 Bad Gateway in every request HOT 2
- `body.upload.upload_link` is null sometimes
- I like this. Ideally we would use Gson versions (which would map to the API version) in addition to this. Then only invalidate the cache if we know there will be a breaking change. This would also help us a bit with any other persistence (like turnstile). HOT 1
- Unable to Get Local Issuer Certificate HOT 8
- Can't upload videos since few days HOT 4
- Download Texttrack HOT 1
- got an error while trying to get video urls HOT 1
- Drupal 9 on PHP 8 Symfony/console incompatability issue (Interim transition issues between PHP 7 and 8 on Drupal 9) HOT 8
- SSL certificate problem: certificate has expired HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vimeo.php.