Jump to content

HTML5 Audio Player


Recommended Posts

The player works in my android devices as:

<audio controls id="Audioplayer" loop="loop">
<source src="" type="audio/mpegURL">

but it doesn't work in any browsers but when I load and it streams just fine. This doesn't make much sense to me because the code displays as 

  <video controls="" autoplay="" name="media"><source src="" type="audio/mpeg">

I tried using the video tag but this didn't work either. It's ok in a new window but I was hoping to display content with the player. 

Flash is months away from being removed also now, so getting this play running seems quite crucial. It must be possible if it plays standalone. My first solution was to place it inside an <iframe but then it didn't load.



Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...