I am working with XOJO 2017r3 and I need to use HTMLViewer with WebKit renderer.
HTML file is stored in SpecialFolder.Temporary and loaded using viewer.loadPage(html_file).
But, page is loaded correctly only in debug version.
I tried moving to SpecialFolder.Documents. result is same. HTML file is created from my app before loading, so it should be long enough to be loaded, even in Temp folder.
Have-you checked the FolderItem in the debugger; sometimes we got surprise (two spaces, a typo, … wrong FolderItem Reference - yes, I do that no longer than yesterday-)
Yes, I tried in the debugger, and added logging, so I can see in build version if everything is same, there is no difference between build and debug when it comes to html file content, to access with Folderitem,… If there is an issue in html file, then it appears it is only problematic in build.
Hello Tim,
I am not getting any message, or exception when loading html, but as you can see in attached picture in my original question, in built version, it is not loaded correctly. Left window is showing debug version and there, html is loaded correctly, as it should.
HTML file has player (with 3 .js files) and few divs with paragraphs.
With macOS and HTMLViewers, it’s possible to enable the Developer Extras debugger (so you can right-click and view source, look at the javascript console, etc.)
Can that be done with the Webkit/Chromium renderer in Windows?
That’s what I got using a different toolchain, but didn’t consider it useful.
It does seem logical that this could just be the headline / title of the video though, and the only problem is the video didn’t load (which is not how this problem was described).