We are building an android app to play youtube videos in exo player. We generate a DASH URL and play it using exo player
I have following concerns
- Is it allowed by play store to play youtube URLs without using Youtube player e.g, using Exo player
- If it is not allowed, What is the way to get it done? Is it allowed if we use the youtube player?
- Is Youtube player build on top exo player?
The short answer is: No.
You can play anything to which you have a direct URL to the media. YouTube don't expose direct URLs, so you'd have to use their player API instead. Of course, you could host DASH content yourself, as you're doing for HLS, which would provide you with the direct URLs you need.