The preferred approach to playing mp3s and such is to convert them to a nen-restricted format. For this you need ffmpeg2theora, which is a CLI tool which handles most proprietary audio and video formats.
If you want to play streaming content, you are better off to save the file and convert it. If the content has DRM, you're bunta'd anyway.
But if you really want to know, have a look here
for my favorite method.
But: from now on, save all media as ogg or flacc.