phonegap html 5 audio play stop working on iOS11

My App streams audio from a shoutcast stream, but with iOS11 update play / pause button that fire Javascript for HTML 5 audio is not working any more


var audio = new Audio('http://radio.stream.net:1234/;stream/1');
audio.play();


I just update phonegap CLI and Xcode

If i compile from Xcode on iPhone 7 simulator it doen't work

Replies

Hi dev4web,


Safari and the new IOS have stopped supporting shoutcast v1 protocol. Change to V2 protocol is the only thing you will need to do.