It is quite easy to get the playback length (in seconds) of an audio or video file. The file may be in whatever format that the browser supports – mp3, mp4, ogg, wav, etc.
Continue reading “Get the Duration of an Audio or Video File in Javascript”
Tag: webaudio
Controlling the Volume of an Audio File in Javascript
Just another quick tip. I’ll show you how to change the volume of an audio file of whatever format you are using – mp3, ogg, wav, aac, etc.
Continue reading “Controlling the Volume of an Audio File in Javascript”
Solve Your Game Audio Problems on iOS and Android with Web Audio API
So you made your game or some other app that has multiple sound effects produced by several audio files. It works great on your desktop, laptop, etc. browsers but then you realize that you have some major issues with multiple sounds (or even single) on mobile and tablet platforms like iOS and android browsers. Sad!
Continue reading “Solve Your Game Audio Problems on iOS and Android with Web Audio API”
Fixing HTML5 Audio Problems in iOS and Android Mobile Browsers to Overcome the Limitations
In one of my earlier posts I discussed some of the issues (or limitations) with HTML5 audio support in iOS and Android mobile and tablet platforms. In this article I am going to try to take a look at some of the ways we can overcome those limitations and quirks.