- Thursday, December 20, 2018, 15:14
- Android, How-to, Javascript
While playing audio in javascript using webview in android platform we may encounter following problem NotAllowedError: play() can only be initiated by a user gesture.. This is due to security and good user experience issue. So to enable sound play we should use following code in android:
Android SDK below 17 will not support this hack so we should use the condition.
Please comment if ...
Full story