over 5 years ago
When displaying media content using HTML5 in a web view on IOS the autoplay functionality does not work.
To enable to web view to autoplay the media (if coded in HTML to autoplay) you need to add a line of code in your IOS application as explained.
Let's say you have a webview object declared as in line below.
Then you need to add the code after initializing the webview as below.
videoView.mediaPlaybackRequiresUserAction = NO;
videoView.allowsInlineMediaPlayback = YES
This forces the video/audio to autoplay in UIWebView if directed in HTML code.
Starting with Chrome version 45, NPAPI is no longer supported for Google Chrome. For more information, see Chrome and NPAPI (blog.chromium.org).
Firefox and Microsoft Internet Explorer are recommended browsers for websites using java applets.
Chrome Version Support
Are you sure, you want to delete this comment?
Terms of Service
| © copyright 2020 FindNerd.com. All rights reserved.
Sign up using