douliao7354
douliao7354
采纳率0%
2015-10-08 09:38

通过API将视频远程上传到youtube

已采纳

Task:

User "uploads" video on my website (html form, php) directly to youtube via API on my chanel (without the file being upload to my server first).

Question:

Is this possible or do i have to temporarily save the video to my server?

at the google resources here there is no hint how to do that.

There IS a upload widget to embed (iframe) in your website BUT it requires the user to login into their own chanel which is not wanted? when this widget could be routed to our youtube chanel it would be THE solution.

A project, youtube direct lite, doesn't work anymore without users loging-in to their account.

Maybe, alternatively, you know another service provider than youtube that allows you to embed an upload widget with event callbacks such as ID and videoUrl to use...

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享
  • 邀请回答

2条回答

  • douzhou7037 douzhou7037 6年前

    There IS a possibility see here

    i purchased it but don't have the time to investigate code for a proper solution.

    点赞 评论 复制链接分享
  • donglu9898 donglu9898 6年前

    YouTube does not suggest letting users upload any video to your own account. Therefore all OAuth mechanisms let user upload it to his/her own account. Only then via YouTube Direct Lite you can moderate (simply select videos to be added on your playlist).

    点赞 评论 复制链接分享

为你推荐