Git Product home page Git Product logo

Comments (4)

aaronm67 avatar aaronm67 commented on August 30, 2024

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.

CodeCures avatar CodeCures commented on August 30, 2024

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.

aaronm67 avatar aaronm67 commented on August 30, 2024

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.

CodeCures avatar CodeCures commented on August 30, 2024

works now
Thanks

from vimeo.php.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.