tunapanda / h5p-standalone

Display H5P content without the need for an H5P server
MIT License
272 stars 117 forks source link

It's not working on android webview 4.2.2, "ERR_UNKNOWN_URL_SCHEME" about:blank #17

Closed ShuiShengYe closed 6 years ago

ShuiShengYe commented 6 years ago

I try to use H5P in my project. We use Android(4.2.2) webview to display h5p content. It can't load anything and get an error ERR_UNKNOWN_URL_SCHEME "about:blank". I test it on Android(5.1.1),and get same error. But it's working on Android 7.

pheraph commented 6 years ago

You could test if your h5p content is displayed without h5p-standalone to find out if it's a problem with the standalone wrapper or h5p itself.

ShuiShengYe commented 6 years ago

@pheraph It's a bug of android(old version) webview. Now i want to run h5p-standalone in nodejs. It can return iframe content directly. How can i do it?

Jakeii commented 6 years ago

I don't think this is specific to h5p-standalone, but you may be able to use https://crosswalk-project.org/ to solve your problem.