A. Try using a music player app that allows background playback while using the Browser and Documents Manager to minimize interruptions.
B. If possible, download music files directly to your device and play them through a dedicated music app to avoid ad interruptions.