I am new to electron and have developed a simple canvas program. Everything works with the exception of

I can (“”) but can’t stream a pdf to a window like this:‘application/pdf’));

the result is a window indicating “Couldn’t load plugin”.

Can someone point me in the right direction? My searches must be way off topic as I am lost on what to do.



I am interested in any leads to solve a similar issue : generating an html page from scratch.

What I’m thinking of doing : write the “stream” in a temporary file and opening it with browser-window

Before using electron, I wrote directly in the document of my newly crated window.