Web Audio API weirdness on iOS

var audio = new Audio('1-second-of-silence.mp3');
audio.play();

--

--

--

A web developer and author living and working in Brighton, England. Everything I post on Medium is a copy — the originals are on my own website, adactio.com

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Dependency Injection Container in Swift

Expandable & Collapsible Views in UIStackView

iOS 14 Is Great. Deal With It

How to Add Optional Methods to Swift Protocols?

All-time Jailbreak tools for iOS versions up to iOS 13.5 -in brief

How to add MagTek iOS SDK to your Xcode Project

Apple SignIn in SwiftUI

Logic Classes in Swift & Kotlin

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Jeremy Keith

Jeremy Keith

A web developer and author living and working in Brighton, England. Everything I post on Medium is a copy — the originals are on my own website, adactio.com

More from Medium

Design System: spreading a good word

How to setup Appium Android & iOS

3 Steps to Make Web Page Load 3x Faster in Mobile App

What is the Variables and Constants in Swift Language ?