First off, thanks for the great work, I am super impressed and exited to be able to embed Podlove Webplayer 4 into Panoptikum !
I have a question on embedding. I am using Elixir + Phoenix, that itself uses brunch for asset management. So I was very pleased to see you releasing the player as an npm module. Installing and embedding seemed straight forward.
I was a bit puzzled to see the function
podloveWebplayer to be required from within a file
embed.js within the dist directory. But what really got me intro trouble is that further requests to embed two more js and a css file with links relative to the original request are performed.
To make it work I basically now put the dist directory into a vendor asset directory and dismissed the node module all together. It absolutely works this way, but obviously, this is a hack.
My question now is, is this hack necessary? Am I doing the embedding of the node module wrong?
Or have there any config options to be set to prevent the other .js and the .css file to be loaded so that the modules/functions can just be used directly, as they are already required beforehand?