Version 1.7 Released
What's new since the initial release?
- Added the ability to use a m4a, wav, flac, or webm file. Which means you now have the option of using: mp3, ogg, m4a, wav, flac, or webm.
- Added the ability to modify the width of the player. Only input a number when using the width attribute; it will become a percentage. Or, if you do not use the width attribute, the player will default to 100% width.
See original post above for install and update instructions.
nitaaikumar - I tried to add the loop option you suggested, however at this time I'm unable to get it working. It's easy to add the loop attribute manually. You just add "loop" to the audio tag. Or, loop="loop" works too. But, the bbcode engine that Flarum core uses is giving me a hard time. If I do it one way, it ignores the loop attribute. If I do it another way, it works, but always; it can't remove the loop attribute. It's difficult to fully explain; it probably has to do with security features the bbcode engine has built in.
Also, if you want you can remove that audio CSS I suggested. Now, the player will be 100% width by default.