question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Video upload with tus (JavaScript File object)

See original GitHub issue

Hello,

according to the following link, https://help.vimeo.com/hc/en-us/articles/224819007-Can-my-upload-script-support-resumable-uploads-or-a-progress-bar-?flash_digest=ebcf64d9b1169b33257ebf61ec2293e31284a8cb

this library can support tus uploads.

I am following your example, but as i found client.upload method supports only relative path files from server as i suppose.

Although the tus protocol supports JavaScript File object.

I found on node_modules/vimeo/lib/vimeo.js the below code

  var file = fs.createReadStream(filePath)
  var upload = new tus.Upload(file, { ...

So is any workaround to bypass the path restriction and give file?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:11 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
erunioncommented, Nov 9, 2018

This is now resolved in v2.1.1.

1reaction
invincible1388commented, Apr 2, 2018

Thanks for the comment. I did went through the library implementation and made some changes to support blob formats too. Now its working fine for me.

Read more comments on GitHub >

github_iconTop Results From Across the Web

ionic3 - Uploading video using Vimeo Tus Protocol from ...
We are creating a Ionic -Cordova app which uploading a video to vimeo account using the tus-js-client protocol (https://www.npmjs.com/package/@ ...
Read more >
Upload to Vimeo - Tus
Hi, I'm new to tus and I'm using tus-js-client. I'm following the example in this link ... I was able to successfully upload...
Read more >
Resumable uploads of large files using tus and Cloudflare ...
Let's suppose we have a web applications that uploads large video files to Cloudflare Stream, built with Node.js (Back-end) and React (Front-end) ...
Read more >
TUS Resumable Uploads - Documentation - Bunny.net
The endpoint uses the open protocol for resumable file uploads called tus. Before a video can be uploaded through the tus endpoint a...
Read more >
Using the tus upload does not seem to store my file name
Yesterday I implemented the tus video upload in a React based dashboard I'm crafting. I am using the tus js library from ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found