audioplayers
audioplayers copied to clipboard
UnimplementedError on web (iOS Safari)
When instantiating the AudioPlayer the Application does not load (error screen in debug mode; white screen when built) and the console shows an UnimplementedError. This only happens on iOS Safari. It works for Mac OS Safari, iPadOS Safari (uses the MacOS Safari Rendering Engine), Chrome and Firefox.
Code to Reproduce
class _MyHomePageState extends State<MyHomePage> {
AudioPlayer _audioPlayer = AudioPlayer();
// ...
}
Screenshots
Platforms Does not work on:
- OS: iOS Safari
- OS version: iOS 14.4
- Device: Physical iPhone 11 Pro
- flutter version: 2.0.3
- audioplayers version: 0.18.0
- release or not release: debug web and also built web
has this problem been resolved ??
No
is there a solution to using what library to handle sound in iOS safari?
Pada tanggal Sel, 27 Apr 2021 pukul 14.26 Malte Peters < @.***> menulis:
No
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/luanpotter/audioplayers/issues/813#issuecomment-827379912, or unsubscribe https://github.com/notifications/unsubscribe-auth/ART24UOV4KVXLW3K2LFPA4TTKZRJRANCNFSM4ZUAA45A .
I switched over to just_audio which also works for iOS Safari 🙌
can you retest with audioplayers: ^1.1.0
and current flutter version (3.x.x)?
audioplayers 1.1.1 on stable Flutter 3.3 still doesn't work on iOS Safari.