You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2020/09/18 14:57:38 UTC
[GitHub] [cordova-ios] RonnySchleicher commented on issue #937: With Cordova and the cordova-plugin-wkwebview-engine I can no longer play sounds without direct user action when the App is installed over the official Apple App-Store!
RonnySchleicher commented on issue #937:
URL: https://github.com/apache/cordova-ios/issues/937#issuecomment-694917830
In my opinion it is not possible to play sounds in **the old way**.
It is necessary to request a promise to allow a url to an audio file to be played.
### See the follow link
https://webkit.org/blog/7734/auto-play-policy-changes-for-macos/
I solved the problem for myself by using the cordova-plugin-media
https://cordova.apache.org/docs/en/latest/reference/cordova-plugin-media/
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org