从Android应用程序在YouTube上上传视频 [英] Upload Video on youtube from android application

查看:72
本文介绍了从Android应用程序在YouTube上上传视频的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一个使用youtube播放器播放youtube视频的应用程序,为此,我正在使用youtube android播放器api v3, 现在,我想使用我的应用程序将视频上​​传到youtube上,我已经找到了用于该目的的解决方案,以下是链接,

I'm working on an application that uses youtube player to play youtube videos, for this purpose i'm using youtube android player api v3, Now i want to upload videos on youtube using my application, i've found a solution for that purpose, below is the link,

https://developers.google.com/youtube/v3/code_samples/java#upload_a_video

我淘汰了google-api-java-client库,但是找不到包含这些类的jar文件

I downlaoded google-api-java-client library, but i can't find any jar file that contains these classes

import com.google.api.services.samples.youtube.cmdline.Auth;
import com.google.api.services.youtube.YouTube;
import com.google.api.services.youtube.model.Video;
import com.google.api.services.youtube.model.VideoSnippet;
import com.google.api.services.youtube.model.VideoStatus;
import com.google.common.collect.Lists;

您能帮我个忙吗,或者让我知道我该怎么做, 谢谢

can you please help me, or give me any idea how can i do this thing, thanks

推荐答案

只需查看以下链接,您就会对在视频管中上传视频有所了解.

Just look into the following links and you will get an idea about uploading an video in you tube.

android youtube上载具有静态用户名的视频和密码

YouTube API 3上传视频-未配置访问权限-Android

此外,在这里我将为您提供所需的演示项目链接.

Also here i will provide you a demo project link as same as you required.

https://github.com/youtube/yt-direct-lite-android

只需经历一下,希望它会起作用.

just go through it and hope it will works.

这篇关于从Android应用程序在YouTube上上传视频的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆