Google Play violation or not?

I just want to ask that
I get strike or. Violation of google play
On my app when using YouTube player component to play my YouTube video ???
Is it legal to play YouTube videos on my app ? And upload it to playstore

Totally legal.
But use the embedable player may not be the best idea for an app.
If you use Youtube api you can make a better player for your app.

But anyway, use youtuber player by itself is not a problem. What cause a lot of problems is not to respect the rules of Youtube like allow videos to play in background or with the screen off.


to play a video in the background will reject your app after the upload in playstore. I know it The same was at me.