codebird-js icon indicating copy to clipboard operation
codebird-js copied to clipboard

Uploading Video

Open adriandfriend opened this issue 9 years ago • 6 comments

I looked through the documentation and cannot see any reference to uploading video, only images.

Looks like it is supported in the PHP version as it's in the documentation.

Is it possible using this version?

adriandfriend avatar Dec 30 '15 22:12 adriandfriend

Hi Adrian, thank you for your question.

We are still working on supporting video uploads with codebird-js. Codebird-PHP 3.0 is released on January 1, after which we’ll focus on porting relevant features to codebird-js 3.0.

I will update this issue as soon as I know more!

Does this help you?

mynetx avatar Dec 31 '15 09:12 mynetx

Thanks for replying so quickly...

After a bit of fiddling I got it to work with the current version :)

Below is a Gist on the steps (using node and async.waterfall on aws lambda just so you know the syntax). I took the ideas of how to do it from the php version.

https://gist.github.com/mynameisadrian/3f56d96ec8fd4370f181

Seems to work really nicely and exactly what i needed!

Adrian

adriandfriend avatar Dec 31 '15 10:12 adriandfriend

Well, that’s about it, you’re right!

Would you like to draft up a section in the README file on how to achieve this? Please follow the layout used in the current JS README and the chapter order like here:

https://github.com/jublonet/codebird-php/blob/1e9cc65284ecd99d425fdf1cdf644788824677cc/README.md#video-files

Thanks in advance for your efforts!

mynetx avatar Dec 31 '15 14:12 mynetx

Happy New Year!

I have drafted an update to the README file, how would you like me to send it to you?

adriandfriend avatar Jan 04 '16 14:01 adriandfriend

How about sending a Pull Request?

mynetx avatar Jan 04 '16 17:01 mynetx

@mynameisadrian Can you send a Pull Request for your fine how-to? :)

mynetx avatar Aug 27 '16 17:08 mynetx