How to switch mediaplayer with firebase

I am developing App with Firebase as database
The app contain both audio and videos which are stored in different project buckets
what i want do is when project bucket is beats instead of calling video player call audio player
and start play then How to get url for audio?
here are my Blogs

Looks like you worked hard. How long did it take?

Thanks for this

Just Few days