YouTube API forbids caching/saving videos. How does McTube do it? - ios

As everyone using the YouTube api knows, saving or caching youtube files is prohibited by the google terms of service. So how then does this app [McTube] allow users to cache videos? I googled around and apparently google reportedly told them to remove the feature. Yet a year later the feature is still there. What gives, and how can I as a developer incorporate such a feature in my app without getting kicked off the app store?
Thanks for your time :)

Related

Get all the data with the Youtube API

I'm creating a fullstack project for a school that have a active Youtube channel. My project is suppose to help maintain and combine videos and information from Youtube into the website.
The problem is - every API request, as noted in the documentation, is limited to 50 units of data at max. This Youtube channel has been going for years, and now i'm stuck without any access to the pre-latest-fifty videos on the channel.
Recommendations anyone?
I hope someone from the youtube team could help me with this issue, or even be provided with an alternative online, instead of hand-scraping or bruteforcing my way to the data

iOS Swift 4: Uploading Videos to YouTube

I am trying to implement a feature where users can upload a video to YouTube directly from the app, sort of like a share to Twitter or Facebook type way. I don't want to use the UIShareViewController, I want to allow it to be upload-able with the touch of one button.
I have done some research, and all the other posts are outdated, mostly in 2014. I am looking for a new version using Swift 4. I understand the whole process of registering my app through Google to get the API, I have looked at their documents. However, their section on uploading videos requires Python 2.5 or higher, so I am not sure where to go about it.
This is a link to their API:
https://developers.google.com/youtube/v3/guides/uploading_a_video
I found these questions, but they are outdated.
Upload Video to YouTube in Swift
Are there any updated resources online that can help me?
A brief description of the process after registering the app with the Api would help.

How do I use YouTube API to upload private videos for a product that will be sold?

So I have a video product that I am about to start selling. Once people pay, they will be able to download the videos, or ideally stream it via YouTube.
But...I don't want them to be able to share the link with every Tom, Dick and Harry.
I know that an unlisted video can still be made public, so that won't work for me. But apparently there can be 'private videos' too.
Where can I learn more about this in the API docs? Or what is the best way to approach this? Especially given that I don't want them to have to have a Google+ account.
Ideally, they should be able to login to my app, and watch the embedded videos there. But they should not be able to share the direct YouTube link.
I know they can always share their account info, that's fine...I will do other things to keep track of and monitor that. It's really the anonymous sharing of the YouTube link I am worried about.
Thanks.
Read the API terms of service and check with your legal folks. Specifically, you will want to make sure that your sale of private content uploaded to YouTube is in compliance with #2 in the Terms of Service:
You agree not to use the YouTube API for any of the following
commercial uses unless You obtain YouTube's prior written approval:
the sale of the YouTube API, API Data, YouTube audiovisual content or
related services, or access to any of the foregoing;

Upload video to Youtube without user autentication

I'm building an iPad app (which is actually going to be part of a promotional kiosk), which lets whoever wants, to record a video (at the place, using the iPad), in order to get a chance to win a prize.
But I just realized that the Youtube API seems to have changed and now it requires user authentication in order to upload the video - which can't be done in my case.
Has anyone faced this problem before? Has anyone found an alternative to uploading the video from the iOS app directly to a specific Youtube account (which I've got full control of) without requiring user's authentication?
Help is highly appreciated!
For privacy issues, users have to upload videos into their accounts first. There is one way to get around it.
You can use YouTube Direct Lite.
So user's would still upload their videos with their own credentials, but then you have the option to moderate and approve those videos to have them in your playlist.
Otherwise if you try to login with only one account and upload all videos there, you will hit limits really soon.

youtube metadata on windows phone

I am planning to develop an app for the windows phone.
In this app actually, I need some metadata from youtube for each user, especially the videos they like and their playlists on youtube.
But, as I started to google for it, I came across this news that youtube apis are not fully supported on windows phone.
http://www.infoworld.com/t/windows-phone/in-blocking-windows-phone-access-youtube-google-delivers-rough-justice-210116
So, I wanted to know whether this feature can be implemented in windows phone app or not?
GData APIs work just fine on WP7/WP8 AFAIK. IANAL but it works fine and I haven't seen any official disclaimer saying it won't/shouldn't work. I believe this article has more to do about streaming video APIs then GData APIs.
You can see a sample of those APIs and how to use them in the official docs and in this previous answer of mine # Possible to play Youtube video in a wp7 app?
You can get the user metadata using YouTube Data API v3.
https://developers.google.com/youtube/v3/docs/playlists
from the documentation:
YouTube also uses playlists to identify special collections of videos
for a channel, such as:
uploaded videos
favorite videos
positively rated (liked) videos
watch history
watch later
The API can be consumed from any client, if you use any JSON library and OAUTH2 authentication.
This project shows how to do it;
https://yt-topic-explorer.googlecode.com/git/dist/index.html

Resources