Has anyone found a working implementation of YouTube Direct? - youtube

I'm working on a website that has a need to accept user-submitted videos. After some research, it seemed like YouTube Direct would be a good fit for our purposes. Most Google products are very well-designed, so why should YouTube Direct be any different?
Unfortunately, I can't find a working implementation of YouTube Direct to explore. I've found several broken versions...
http://topics.gannett.com/greensboro+sit-in/?template=digtriad
http://www.huffingtonpost.com/2009/11/16/hopenhagen-ambassador-con_n_356950.html
...but they all seem to be plagued with errors.
Does anyone know of a working, error-free implementation of YouTube Direct? Is this a neglected or failed Google product? Is there a better solution to accept user video?
Thank you for any help or recommendations that come to mind.

You can check out project page for YouTube Direct Lite.
There is also a live demo available.

Related

Is it possible to use the YouTube API to automatically create a comment when a new YouTube video is uploaded?

I am working on a personal program to use with my Google account. I don't have a custom website or domain to use. Basically, the idea of my request was to create a personal bot that would comment "First" on a video as a joke between my friends. I looked into the YouTube API a bit, but I got differing answers on the capabilities of the v3 data API. I found the commentThread page but am also confused about its usage. If anyone could give me a basic idea on if this project is possible, I would love to hear it.
welcome to Stack Overflow!
As you said, you want to create a comment when a video uploaded. YouTube has provide the webhooks for this.
You can see the docs push_notifications. I think that is what you want. :)

Youtube Data API v3: Sort by date not working

The sorting is not working as expected since a few hours.
https://www.googleapis.com/youtube/v3/search?order=date&part=snippet&channelId=UC_x5XG1OV2P6uZZ5FSM9Ttw&key=YOUR_API_KEY
Can be tried in the API explorer (Execute without OAuth) as well.
https://developers.google.com/apis-explorer/#p/youtube/v3/youtube.search.list?part=snippet&channelId=UC_x5XG1OV2P6uZZ5FSM9Ttw&order=date
date: Resources are sorted in reverse chronological order based on the date they were created.
https://developers.google.com/youtube/v3/docs/search/list
What is going wrong?
In case you are looking to get the latest videos of a channel:
Get the channels upload playlist from Channels
Get the latest videos in the channels upload playlist from PlaylistItems
Alternatively, you can use the channels RSS feed:
https://www.youtube.com/feeds/videos.xml?channel_id={ChannelId}
https://www.youtube.com/feeds/videos.xml?user={User}
This does not replace the full search sorted by date function however.
Thanks YouTube for making me work on a Sunday, all I wanted was to watch the latest videos from my favorite channels. At least I don't have to wait for a fix anymore, good luck to those less lucky!
Reports in Google's forum were commented by a Google employee:
https://support.google.com/youtube/thread/2494861?msgid=2520468
YouTube is aware the search/sorting functions aren't working as expected – this is temporary and part of our efforts to better respond, review and remove graphic, violative content from YouTube. Thanks for your patience while we work through this. Will update this thread when these features are working normally again, feel free to subscribe for updates.
Bug reports for this include:
https://issuetracker.google.com/issues/128673031
https://issuetracker.google.com/issues/128673552
Both have an official comment from Google:
Thank you all for bringing this up here. These specific filters have been currently disabled on both YouTube.com and through the APIs. We should have updates on this soon. Thanks again.
Not sure how credible that is:
Just confirming that this is only temporary, and related to YouTube's efforts to better respond, review and remove graphic, violative content from YouTube. Thanks for your patience while we work through this.
https://www.reddit.com/r/youtube/comments/b1plj5/sort_by_upload_date_not_working/eiojtjh/

Likes report on third-party YouTube videos

I'm creating a website for users to post their videos on a particular topic. The videos will be processed with an intermediate server and then uploaded to each user's YouTube channel. However, I would like to know if the YouTube API, lets you know the number of likes you get each of these videos on YouTube.
Thank you for helping me
https://developers.google.com/youtube/v3/docs/videos/list
This is where to look. Please invest some effort of your own before asking on SO. Your question is easily solvable by using a search engine.
If you don't yet know how the YouTube API works, inform yourself first. Once you do know and were able to try something out, but are stuck, I encourage you to ask another question with your particular problem (after researching, of course).

Loading a Youtube Channel

After looking for hours I still can't find a proper example of how I would load a YouTube videos into a -UItableView or something similar. Something similar to this http://gyazo.com/cb89587662fab215312c764cda281309 . Does anyone know how to do anything like this or similar ?
You should use YouTube IFrame Player for iOS.
You can check out Objective C samples from YouTube and use YouTube Objective-C client library.
Here's a great talk about Mobile best practices for YouTube
Try this out.
IBM DeveloperWorks
I used this for help when I was starting out with the api for my site.
It uses SimpleXML and PHP, but can with some changes be used with json.
Hope this helps you on your way.

Why the link get from youtube get_video_info doesn't work for download?

I test with browser with the link I get from "http://www.youtube.com/get_video_info?&video_id=xx" to see if it is be able to download.
After remove some parameters from original link, some works but some still don't.
I read some post here but most of are pretty old. A lot of change since then.
I wonder if there are somebody working on this recently.
The purpose I need this is because my youtube view program need a better quality video to display.
This is link doesn't work:
http://r17---sn-tt17rn7e.c.youtube.com/videoplayback?fexp=902529%2C932000%2C906383%2C902000%2C919512%2C929903%2C931202%2C900821%2C900823%2C931203%2C931401%2C908529%2C919373%2C930803%2C906836%2C920201%2C929602%2C930101%2C930603%2C900824%2C910223&ipbits=8&expire=1364854787&sver=3&mt=1364829200&newshard=yes&id=26c94a41dba396f5&key=yt1&upn=GrcnDUPfreQ&cp=U0hVSVhQUl9NUUNONV9QSlZIOm9BbnVkMTJzOXE5&sparams=algorithm%2Cburst%2Ccp%2Cfactor%2Cid%2Cip%2Cipbits%2Citag%2Csource%2Cupn%2Cexpire&ip=173.248.214.165&itag=34&ms=au&source=youtube&mv=m&signature=9593596F58B377FAA4C8F5A4516C7F53CE473340.507CA2EA250CEED2E2B2377FD70EE1A0478EE322&type=video/mp4; codecs="avc1.42001E, mp4a.40.2"&itag=18&
What wrong with it? I removed fallback_path and replace sig with signature.
The working link is for webm. This is for h264. Both have the same kind of parameters.
And this is working now.
http://r17---sn-tt17rn7e.c.youtube.com/videoplayback?fexp=909708%2C912514%2C930802%2C932400%2C916624%2C931009%2C932000%2C906383%2C902000%2C919512%2C929903%2C931202%2C900821%2C900823%2C931203%2C931401%2C908529%2C930807%2C919373%2C906836%2C920201%2C929602%2C930101%2C930603%2C900824%2C910223&ms=au&itag=44&mt=1364825784&ipbits=8&cp=U0hVSVhQT19NUUNONV9QSlNCOlp5ZGoyMXJ3emlq&ip=173.248.214.165&upn=ohH0s8EjPyo&newshard=yes&source=youtube&ratebypass=yes&mv=m&sparams=cp%2Cid%2Cip%2Cipbits%2Citag%2Cratebypass%2Csource%2Cupn%2Cexpire&id=26c94a41dba396f5&expire=1364851187&key=yt1&sver=3&signature=798EED35782B846D2B0EA190A17E837A0DBA18EA.AD56BCF6365AAD974C18F09F352F9422084C50AC&type=video/webm; codecs="vp8.0, vorbis"&quality=large,itag=35&
That's not a supported method of interacting with YouTube. You need to use one of the official YouTube Player mechanisms to display YouTube videos.
Please familiarize yourself with the YouTube API Terms of Service if you have any more questions.

Resources