How to make API request to Vimeo videos in iOS application? - ios

I'm developing an iOS app(coded in Objective-c) which plays Vimeo videos. Its an In App Purchase application. I already have websites where users can buy videos. I have Vimeo PRO account. I don't know how to get direct link to those videos using Vimeo API.
Is requesting for videos part mine or it is done in back-end(in my case PHP)? So how to make API request to those videos I own in order to show them in my app? Thanks

Did you take a look at following url:
https://github.com/vimeo/VIMNetworking
If you still facing problem then I hope, it will give answer of all your problems.
Let me know if you have any other problem. I will try to solve it.

Related

Video unavailable. Watch on Youtube problem

I have a problem about Youtube iOS SDK (youtube-ios-player-helper). I am able to use it in my iOS native code now and it's working fine.
The problem is there are some videos which unable to watch on the application. The video iframe shows this:
Youtube video problem
Can anyone find any ways to pass through it? Or maybe is there any parameters for the search API which filter those kinds of video out of my results?
My search API is https://www.googleapis.com/youtube/v3/search?part=snippet&q=Mật vụ bóng đêm&maxResults=50&type=video with region VN.
Thanks a lot for your help.

How does whatsapp play youtube videos directly in iOS App?

So since the recent update in whatsapp, you can play youtube videos using the default AVPlayer in iOS.
I wanted to know how is this functionality possible? And if there is a way to implement this without violating Youtube's Terms of Service?
I know of tools like https://github.com/0xced/XCDYouTubeKit but they clearly violate Youtube's TOS.
Check the screenshot below
One option that I don't know if the guys on Whatsapp use but I already used in a production App is a Pod made by YouTube guys, called
YouTube-Player-iOS-Helper
You can see the link to the documentation below. With this Pod you can put a video preview in a UIView that helps but I don't know if is the best option to use because the Pod uses a Webview, injecting Javascript.
It's just an option... maybe there is a better solution for this problem.
Documentation link: https://developers.google.com/youtube/v3/guides/ios_youtube_helper
I think Youtube API should available to integrate in your iOS app. Because normally in website youtube provide embedded api to play their video on other website. So, same for iOS also may be possible. Please check youtube's official developer website. You can Check this: https://developers.google.com/youtube/v3/guides/ios_youtube_helper

Creating a Youtube channel ios app

So I want to make an app with my own custom menu, from where I can have access to my videos on youtube. I know how to link individual videos but I want to be able to update it with a back end or just by adding more videos to my youtube playlists and not have to fully patch my app to add more content. wondering how you all might suggest I go about doing this.
This sample will help you understand how to upload your videos to YouTube, https://github.com/youtube/yt-direct-lite-iOS

upload video on twitter with share kit or oauth

I need to add the uploading video concept on twitter through my app. I have tried every possible solution i.e. oath, share kit but didn't get any success. I am able to post image with oauth as well as share kit. But when I tried share kit for uploading the video it make the incomplete yfrog link i.e. frog.com but when I click on the link there is nothing in that. Can anybody tell me that what I am doing wrong in this. Please help me out of this issue.
Thanks in advance.
you cant upload video to twitter (you can post URL of video ). twitter not allow to post video it is possible for vine app. only (because of vine app developed by twitter) .

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.

Resources