Find original content author from a re-posted video - youtube-api

Here's the same video, under two different channels:
https://www.youtube.com/watch?v=gYh9DCN8ads
https://www.youtube.com/watch?v=5_v7QrIW0zY
The second one is the original I believe. But if you query the api using the id 'gYh9DCN8ads', it seems like there's no information that points you to the original content creator, is there? All you can get is the channel, which is FlorianPurcarus, not Isaac Lamb.

Unfortunately, it is not possible to get the original video ID since YouTube does not make this information available to the public.
However, if you are the owner of the content and you are a Content ID partner, you are able to list active claims on one of your assets. For more information about that, please reach out to your Partner Technology Manager for more information.

Related

Youtube - url source to channel banner WITHOUT API

Trying to write a tool to grab YT information, and I'm starting out with the banner image. Usually I use Inspect Element and it will tell me the source, however on a channel like this I see no such URL. Id like to be able to, in my script, use something like wget and have it grab the image.
My hopes are to NOT have to rely on the YT API to save users from having to go through that.
I'm just trying to see if there is a URL scheme to retrieve a channel's banner. Thanks
In case it's better for me to add it all in one question, here it goes: I'd like to be able to grab all of the following w/o the API:
user avatar (highest quality)
video watermark (also in highest qual.)
channel description
related urls (at the top right, usually a channel's twitter account, main website, etc.)

How to specify multiple topics in youtube search API?

Can I only give one topic id to search youtube videos ?
Is there a way I can give more than one parameters ?
We just rolled out support for additional video topics that are "relevant" to the video, but don't completely describe the video:
As of right now, you can just specify a single topic id to use as a search filter, but these additional topics (as well as the fact that a video can have more than a single "central" topic) do imply that providing combinations of topic ids as a filter would be useful.
Could you please file a feature request to keep track of this publicly off of Stack Overflow?

Is it possible to get the YouTube author name for a video using the v3 api?

So I'm working on switching to using the v3 version of the YouTube api (which is so much better it's like a completely different product), but I'm either missing something or it is ...
Being able to fetch an arbitrary list of videos, and their details, in one call is going to make life significantly better, but in the videos list method, the the video details "snippet" contains the "channelId", not the "author".
I've spent quite a bit of time looking through the documentation, but can't find any way of getting from a channelId to the human readable author name.
How am I expected to map a video to an author?
It's not possible to get back a display name (either legacy YouTube name or Google+ name) for a channel as part of the video.snippet response. You need to take the channelId and perform a channels.list(id=channelId1,channelId2,...,part=snippet) operation to get that information. The good part is that you can pass in up to 50 channel ids in a single call.
This sort of separation of information into different resources with ids effectively serving as keys linking the resources was a deliberate decision. The engineering team is aware that it will require developers to make an additional API call, but they're in favor of that design.
At the same time, the API is still in an experimental release, and if you have any feedback about using the API while doing real-world development, feel free to open a feature request in the issue tracker. If enough people give feedback about a certain aspect of the API, that could factor in to the final revision's design.
The accepted answer may have been correct at the time of writing, but as of 2/2018 the snippet part now includes a channelTitle property.

Customize YouTube Embed URL

Is it possible to modify the URL used to embed YouTube videos in an iframe (http://www.youtube.com/embed/_AJS0lgT-4a)? For example, adding the channel name.
My organization blocks YouTube so I need to create a rule on our proxy server to allow users to access our channel only.
Thank you.
Yes, if you load the videos directly from the user's channel, it'll look like this:
http://www.youtube.com/user/vsauce#p/u/4/CSf8i8bHIns
So you'd be on the user's channel homepage.
"/user/username" is your golden ticket, and #videoid will point to the video if you want to link directly to it.
Multiple other varibles are passed in the url that you can make exceptions for, most notably a playlist. This string will appear somewhere in the url, generally tacked onto the end:
"&list=PLAYLISTIDHERE" ex. "&list=PLE126C843377DCE64"
One of those should do the trick as long as the admins are willing to play nice!
Best of luck!

YouTube API: videoEntry context in playlist

Is it possible to find the context of a video in respect to any playlist that it is included in? I would like to be able to check if the videoEntry is included in a playlist and, if so, figure out the next video in the playlist.
Flickr has a lot of great photo context methods, I hope YouTube does too, I just can't find anything on it.
Well, obviously you want to know the VideoId of the video in question first, right? So say it's "4eUibFQKJqI" and it's in a playlist whose Id is "6C0464B5CC81A607" (You can easily get those Ids from your 'My Account' section in YouTube).
If I get the feed for that playlist, then the resulting xml file gives you all the information you need to check if that Video is present, and the order that you have set in 'My Account' is preserved.
So, you have two ways of analysing the results that YouTube sends you. One is to make a request to that playlist address and parsing the results using Linq-to-Sql, if you use Asp.Net, for example. Whatever language you use, it will have Xml-parsing capabilities, so it's just a case of iterating through the entries in the feed.
If you use a library for your language, it may well have a specific method to determine whether a given video is in a given playlist, but if it doesn't, it's pretty easy to query the raw xml file and get that information, as described above.
Hope that helps - it's hard to tell from your question what level you're at with this stuff... Anyway, it's all at the Developers' Guide.
http://gdata.youtube.com/feeds/api/playlists/PLAYLIST_ID?v=2
from http://code.google.com/apis/youtube/2.0/reference.html

Resources