I also had the issue that WebView was not accepting the playsinline attribute. Adding the following line will the WebView accept inline video
webConfiguration.allowsInlineMediaPlayback = true