In our app we would like to implement direct uploading of video files to youtube without the use of the SHARE key.
Thus far I have found reference to this:
http://code.google.com/p/ytd-android/
but I receive this error when I try to upload a video:
http://code.google.com/p/ytd-android/issues/detail?id=13
What else can I try?
You can easily solve this problem by creating one channel in your Youtube account(one you are using to statically login in this project).
refrences :Ytd Project
Related
As from sample google casting-app we can cast video to Android TV via URL. I want to cast video from local storage. I have not found any solution yet.
Let me know if anyone have implemented it.
https://github.com/googlecast/CastVideos-android
(Sample casting app by google)
MediaStore API your problem solved
https://developer.android.com/training/data-storage/shared/media
used it
I have already integrated VLC player in my android app in Linux environment.But now the issue is when i try to play the YouTube link .It Unable to stream the YouTube URL and the concerned g-data ".3gp" URL.The error is mentioned below.
"http://www.youtube.com/watch?v=oq1gNicFkeM can not be played." in Toast.
Does anyone have any idea on the same?
I have found a temporary solution.I'm not an expert, but this did the trick for me:
Find a website which can download youtube video's (I suggest keepvid.com)
Paste the url of your youtube video into the designated bar and, although we are not downloading anything, hit the Download button.
Now the website gives you a list with different formats for you to choose from. RIGHT-click the one on top (mp4?) and copy the link's adress.
This link can be played in VLC Android and includes your youtube video.
VLC for Android does not support the lua plugins needed to parse the YT URL.
You need to parse the HTML layout yourself (and feed the resulting URL to VLC) or add support for lua plugins to VLC for Android to solve this issue.
I have to upload a video on twitter from android app. I have successfully uploaded image and text on twitter. I am using the twitter4j-core-3.0.3.jar library.
I tried uploading video using the same method I used for images, but failed to upload and got exception code 403 and TwitterException {exceptionCode=[2ea3c142-58dea759], statusCode=403, message=Error creating status., code=189, retryAfter=-1, rateLimitStatus=null, version=3.0.3}.
I also downloaded twitvid sdk from http://twitvid.pbworks.com/w/page/22556292/Client%20Libraries, but even after integrating this sdk, I could not upload video on twitter.
As per twitter official discusion thread https://dev.twitter.com/discussions/11241 we can upload video using twitvid using that code.
Since I am not having a suitable sdk, I am not able to work on this.
Any help to upload video on twitter from android app will be highly appreciated.
EDIT 2016: This answer is outdated. Twitter now support video upload in addition to linking.
You cannot upload video directly to Twitter - they simply don't support it.
Here's what you have to do, instead.
Upload the video to a 3rd party service (like YouTube)
Get the public URL of the uploaded video
Add the URL to the status you send to Twitter - e.g. "Here is my video http://example.com/video123"
If you want, you can add a thumbnail of the video as an image attachment.
Refer this link CLICK HERE Twitter video share this may be useful to others . I have made up a library by extending twitter4j library . Note this is used for only Silent Video share i.e Without using the composer .
My problem is that before the signing with widevine the video is displayed as it should.
The video is located in resources/raw
Errors I get are :
I/MediaPlayer(23023): path is null
D/MediaPlayer(23023): Couldn't open file on client side, trying server side
Does anyone have a idea of the root of this error or even a workaround ?
I tried to put the videos in assets but there was no difference
Thanks in advance and I hope there is someone out there that can help me
Assuming widewine is a drm, you need to decrypt before you can play. Either widewine will give you a player or a decrypting library which you must use to decrypt the content before you can play it.
I want to upload a video file from my Android application. Any ideas?
by using ytd-android
here is demo project available
you can upload youtube video.
If you have fix username and password then
see this answer
have a niec developing.....