Unable To Load Audio Files Via Xmlhttprequest Using Wkwebview
I enjoy making old school arcade games using HTML5 Canvas and JS. I've been doing it for years and am probably a bit set in my ways. The games work great in Chrome / Safari on all
Solution 1:
Ok, so after much digging and a valuable heads up from Kerri, I finally figured out how to implement the changes that I required.
I added the following info to my config.xml:
<pluginname="cordova-plugin-wkwebview-engine-localhost"spec="https://github.com/apache/cordova-plugins.git#wkwebview-engine-localhost" />
also in config.xml I changed
<contentsrc="index.html" />
to
<contentsrc="http://localhost" />
Works a treat.
Post a Comment for "Unable To Load Audio Files Via Xmlhttprequest Using Wkwebview"