Not sure if this qualifies as a bug, so I’m asking here first:
The JS Viewer only works for me if the DIV it loads into is visible at pageload (apparently). If it’s CSS display is set to none and I show it on a button click, I get
Error: attribute d: Expected path command, “M 0 0 NaN NaN A 1 1 0 …”. in apply-properties.js:64 and a “broken” viewer. (tested in latest Chrome and Firefox)
Full test code (without my client ID) is at Edit fiddle - JSFiddle - Code Playground