SwiftUI Hide Video Controls - swift

I'm trying to build an educational iOS app with course videos. I've been attempting to store these videos on YouTube as private videos and Vimeo. But they both show the video controls which allow the URL to be extracted, which I don't want. Storing the videos as a local resource is a no-no; otherwise, the app would be several GBs.
I can also store the videos just on my web hosting, but again I think these are discoverable and I don't want to go down the route of creating log-ins and user accounts.
Are there any other solutions to doing this? Is it possible to store the videos in Firebase and get the app to access them stored there?

Related

Get necessary authorization for my iOS App

I have my API Client(an iOS application) that shows videos for a specific YouTube channel. When the user starts the app, my client fetches all the videos from a specific channel using the channel id. The user can see videos to the channel in a table view and watch them if they click one in the table view. I am not monetizing these videos, no adds, no anything. I am not making money in any aspect of this app.
When submitting my app, Apple is saying that I do not have the neccesary authorization to show this data in my app because I am not the "content owner." Is there specific YouTube API Services documentation that I can gather for them to show the authorization? Also, will I have to get approval from the content creator (specific YouTube channel) to show this data?
I appreciate any help I can get.

How to get Youtube URL into IPhone App

I'm developing an app were I would like to get youtube video url into my app from youtube app in IPhone. Whenever user clicks on video in youtube app that video's link should be directly retrieved into my app. Is it possible to do this?
Thanks
You can not get the data from some other app to your app...IOS doesnot allow it. All apps has their own separate documents directories. Only Media Files/contacts in phone are accessible.
Read this you might get some idea : Is it possible to access data across 2 different iOS apps?

Does You Tube allow app builders to use their service to host and play videos from many users?

I am building an iPhone app that will let iPhone users upload videos and share them. When we upload videos to our server, playback is choppy. Can we route these uploaded videos to You Tube, and play them back through You Tube (without the iPhone user having to create an individual account)?
You can upload videos to YouTube and play them back on an iOS device, but it is very strongly recommended that you require users to upload videos into their own YouTube accounts rather than storing them in some master account. The reason for this is explained at http://apiblog.youtube.com/2012/02/video-uploads-from-your-sites-community.html

Sharing data between device in same app iPhone

I am planning on making an app on iPhone.
Users can take a photo inApp or upload photos from their photo library(photo stream). Once this is done, anyone else with the app should be able to see these photos IN THE APP. What is the best way to approach this? Do i require a server or is there another way to save photos. Do I have to use iCloud for this? I am under the impression that iCloud is for a single user and not to share information as a server. Should I change this impression of mine?
Thanks!
You'd need to save the photos to a server somewhere. Whenever the app runs on a given device, it'll need to check with the server to see if there are new photos to display.
Your impression of iCloud is correct -- it's for syncing data between a single user's devices, not for sharing data between many users.

Apple iTunes Affiliate Program - Song link metadata?

I have an app that plays music from the user's iTunes library on the device. Without going into the details of the "Whys" behind what I am doing, I just need to know how to automatically get the iTunes store link from each song. So in the app, I will show a song list. I want a "Download" button next to each song. When the user presses that button it opens up the song in iTunes to be purchased. Is there a way to dynamically find the links to those songs, or do the links have to be pre-programmed into the app?
I was hoping any official iTunes music would have an iTunes download link/other useful meta data associated with it.
Again these songs are never the same on all devices because they are coming from the users library.
Maybe there is some search function I can do?
It is not exactly automatically (though for the user it will be), but with the title of the track you could search it using the iTunes Store Web Service Search API.
This will return a JSON response with the link to the song in the iTunes store (along with some other useful metadata).
I've got his same problem. Considering using EchoNest to actually identify a track from its audio content, then using the returned values (title, album, etc.) from EN to query iTunes API for the track in the Store.
This is based on the assumption that the user's track metadata is not reliable, and has the added benefit that you can fill in any missing data that the user may not have (eg. album art)
Any other ideas?