Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can I upload a video to YouTube from my own site [closed]

Is there a YouTube API that will allow me to upload a video to my YouTube account from my own website and return the embed code which I can store in my website database.

I want to add a name, description, custom URL and embed link all which goes to my online database. The embed should be returned from YouTube so I can then store it online and it can be read.

like image 925
Pierce McGeough Avatar asked Feb 23 '13 01:02

Pierce McGeough


People also ask

Can I upload video to YouTube from my website?

You can upload a video to YouTube on the website or using the mobile app. For everyone to see the video you're uploading, set its visibility to Public.

Can I use website content on my YouTube channel?

No, you can't. You're required to identify any allegedly infringing content by its video URL. Here's how to get a video's URL: Find the video in question on YouTube.

Can I just put any YouTube video on my website without permission?

In general, it's fine to post video that you create yourself on your website. Once you create a video, it is automatically copyrighted, and you have full rights to it unless stated otherwise by a sharing service.


1 Answers

You can make use of the insert API of YouTube developers.

https://developers.google.com/youtube/v3/docs/videos/insert

To upload you can use this authorization: https://www.googleapis.com/auth/youtube.upload

If successful, this method returns a video resource in the response body. https://developers.google.com/youtube/v3/docs/videos#resource

This might be helpful for your need.

like image 103
moesef Avatar answered Nov 05 '22 03:11

moesef