which did produce an HTML file. However, this HTML file results in a blank page with no apparent activity. (Javascript profiler in the browser developer tools indicates 100 % idle time, too.)
In the HTML file is a script block defining a json object called parchment_options. I tried searching for other occurrences of this name in the file and found nothing ā does the file not use the parchment_options? Is Parchment even in the file? So many questions, so hard to tell from the minified JS!
I have tried both with a zblorb and a z5 story file directly, also someone elseās story file, with the same result every time.
I was going to try to troubleshoot this myself but if I clone the repository for the iplayif app and hard-code the metadata for my file (because I donāt have babel-tool installed ā thatād be the next thing to try) then the generator when running under npm locally just works. Hm.
Edit: works locally also when getting metadata from babel-tool. The plot thickens!
Edit 2: Thereās a significant difference between the HTML file I get out of my local process and that on iplayif.com. The one from iplayif.com is truncated at just over 100 kB, whereas the one I build locally is 3.5 MB.
My best guess is that thereās nothing wrong with the code, but that an intermediate proxy cuts off responses at 100-some kB.
I have tried both Firefox, Chrome, and curl, and in all cases the response is truncated at 105 kB. It does not end with </html>. The last line of the file I get is the base64 encoded storyfile, but chopped off before it gets to the end of it. (Or at least I assume so, because the trailing <āscript> tag is not there, and the base64 data does not end on equals signs, which seems like a good bet if it was complete.)