Giter Site home page Giter Site logo

vimeo's People

Contributors

dependabot[bot] avatar dharapvj avatar fbnt avatar guilhermesilveira avatar hzill avatar jslivane avatar lorencole avatar maser avatar philippeehlert avatar tmendici avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

vimeo's Issues

Location vs location

Hi, your library is helping lot of us. There a new problem recent introduced by Vimeo explained below.

There is both spelling of location under json response of endUploadVideo. Can we make this small correction on our code base.

I can create a pull request for the same. If you would like. Attached both version of response in this.

Thanks for all the help in advance.

Location L

location with small L

Unable to update video metadata

Hello,
I can already upload a video to vimeo,but I can't edit the video,and each title of video is"untitle", and If I want to get the videofile,how can I do that?

Issues with Apache http Libraries in Android

I'm trying to use the library for an Android app. My test device is Kitkat.

Here's my gradle config:

compileSdkVersion 25
buildToolsVersion "25.0.3"

defaultConfig {
    applicationId "my.app.package"
    minSdkVersion 16
    targetSdkVersion 25
    versionCode 1
    versionName "1.0.0-alpha"
}

Here's how I added the library:

compile 'com.clickntap:vimeo:1.10'

But I receive the following error on Vimeo.addVideo():

java.lang.NoClassDefFoundError: org.apache.http.impl.client.HttpClientBuilder

and warnings:

WARNING: Dependency org.apache.httpcomponents:httpclient:4.3.6 is ignored for debug as it may be conflicting with the internal version provided by Android.
WARNING: Dependency org.json:json:20140107 is ignored for debug as it may be conflicting with the internal version provided by Android.

So I searched a little and found that I could do something like this:

compile 'org.apache.httpcomponents:httpclient-android:4.3.5.1'
compile('com.clickntap:vimeo:1.10') {
    exclude group: 'org.apache.httpcomponents'
    exclude group: 'org.json'
}

But now I'm receiving this error still on Vimeo.addVideo() and can't find any solution:

java.lang.NoSuchMethodError: org.apache.http.entity.FileEntity.<init>

Please help :(

Thanks,

App is crashing on uploading video

It is showing this error.any one knows how to resolve this issue:-
No static field INSTANCE of type Lorg/apache/http/message/BasicLineFormatter;

Unable to update video metadata

Hi, I want to use your lib to upload video to Vimeo. I tried example you are giving, but I'm not able to update video metadata with the implementation you provided. I think the problem is with the way you are sending patch data, they should be sent through JSON object in request body, not form-data. Please, let me know if I misunderstood something.

can't upload the video

I already create an app and generate a access token in vimeo api.and then I put this token into java code,but it has "HTTP401" error and I don't know what to do.

apiRequest Endpoint URL is wrong for search videos.

In Vimeo Class
public VimeoResponse searchVideos(String query) throws IOException { return apiRequest("/me/videos?query=" + query, HttpGet.METHOD_NAME, null, null); }

"/me/videos?query=" + query, HttpGet.METHOD_NAME" -> is wrong URL

it should be "/videos?query=" + query, HttpGet.METHOD_NAME"

/me is not required.

your library for Android java

Just interesting about Vimeo for android project
your library looks promising...
trying to run it on Android Studio
still have no success to compile project...

Upload videos in asynch way

Hello,
is there any way to upload videos asynchronously? That is, a way to get the endpoint immediately without blocking the flow of control and then a second API that, given the endpoint, communicates the status to me?

Thank you in advance
Davide

SSLHandshakeException on sending the first POST request

javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

Above is the stacktrace of the issue.
If I send the same request from POSTMAN then I get the response but if I send it from Java above exceptioon occurs.

Video name becomes 'undefined' when description contains special characters

When I upload a video with a special character in the description, the details of the video get lost. It is uploadead as 'undefined' and the description is not filled in. I could fix it overriding Vimeo.apiRequest, adding UTF-8 .

image

Could this please be added so that I don't have to override this method anymore?

Encoding Issue.

Hi, guys!

is updateVideoMetadata() function is safe UTF-8 encoding issue?

i try to updateVideoMetadata() and then update title, description.
after then check, vimeo video information is broken.

could you check encoding? please?

encoding
encoding2
(url)

"/users/{user_id}/videos" API call

Hello, I'd like a call into the "/users/{user_id}/users" endpoint to get details on all videos uploaded by a given user. Can you help me?

DH keypair exception

Following below is the exception i am facing while uploading the video to vimeo.
Also the exception does not occur frequently. But i wanna know how can I solve it.

javax.net.ssl.SSLException: java.lang.RuntimeException: Could not generate DH keypair
at sun.security.ssl.Alerts.getSSLException(Alerts.java:208)
at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1904)
at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1862)
at sun.security.ssl.SSLSocketImpl.handleException(SSLSocketImpl.java:1845)
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1366)
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1343)
at org.apache.http.conn.ssl.SSLConnectionSocketFactory.createLayeredSocket(SSLConnectionSocketFactory.java:290)
at org.apache.http.conn.ssl.SSLConnectionSocketFactory.connectSocket(SSLConnectionSocketFactory.java:259)
at org.apache.http.impl.conn.HttpClientConnectionOperator.connect(HttpClientConnectionOperator.java:125)
at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:319)
at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:363)
at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:219)
at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:195)
at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:86)
at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:108)
at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:106)
at com.clickntap.vimeo.Vimeo.apiRequest(Vimeo.java:247)
at com.clickntap.vimeo.Vimeo.uploadVideo(Vimeo.java:109)
at com.clickntap.vimeo.Vimeo.addVideo(Vimeo.java:123)

Redirected to Vimeo Login Page

When I am trying to get the authorization code I am redirected to the Vimeo login page instead of the redirect URL that I have provided.
Can you please help.
Thanks in advance.

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.