• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

How to restrict a YouTube URL only for an App

Hi,
I am new to this forum.

We are developing an App that will contain some Video Content (YouTube videos).
However we do not want those videos to be viewed outside of our app. This means the users cannot access the URL of the video and even if they do, they cannot view the video outside of the app.

Has anyone done this type of work?

Thanks in advance,
Janaka
 
Why are you using YouTube to host your videos? It's a public site so no, you cannot restrict access to them. Use a different video site that allows restricted users only
 
Hi,
I am new to this forum.

We are developing an App that will contain some Video Content (YouTube videos).
However we do not want those videos to be viewed outside of our app. This means the users cannot access the URL of the video and even if they do, they cannot view the video outside of the app.

Has anyone done this type of work?

Thanks in advance,
Janaka

I'm pretty sure you can't do that with YouTube. If someone knows the URL, it will play in a browser, as well as the YouTube app.

I'm not a dev, but I think you might have to host your videos on your own server that streams to your app, that doesn't have a public URL.
 
You have to set it to unlisted the copy the URL the app has the URL your building and will only allow viewers to view your videos if their using your app
 
Back
Top Bottom