clickntap / vimeo Goto Github PK
View Code? Open in Web Editor NEWJava SDK for Vimeo API 3.4
Home Page: http://developer.vimeo.com/api/libraries
Java SDK for Vimeo API 3.4
Home Page: http://developer.vimeo.com/api/libraries
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 .
Could this please be added so that I don't have to override this method anymore?
It is showing this error.any one knows how to resolve this issue:-
No static field INSTANCE of type Lorg/apache/http/message/BasicLineFormatter;
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.
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...
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.
could not use the method addVideo(byte[] bytes,upgradeTo1080){
...................
}
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?
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,
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.
Would be cool to have this featuer in the API too
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.
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
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?
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.
I'd like a call into the "/users/{user_id}/users" endpoint to get details on all videos uploaded by a given user.
Documented here: https://developer.vimeo.com/api/reference/videos#get_videos
What are the chances?
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.
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)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.