Viewer does not work correctly in other browsers

I am using the example viewer available in “/ pre-packaged”.

The template contains [var diagramUrl = ‘’;] but when I put it in the template to open a local bpmn file [ var diagramUrl = ‘file: /// C: /TEMP/WKF_17_TESTE.bpmn’;], it only works on Microsoft Edge. In Chrome and IE do not work.

Can anyone tell me the reason?

Sounds like:

And how do I get around this? I need to open a local file (HTML) using the template to integrate into my application.
Can you help me?
Thank you