It even works on Firefox mobile. On android, use NewPipe instead of the YT app, it can play in background and doesn’t have ads.

Ads are a cancer of the web, will track you and reduce your battery life.