Search code examples
imagevideowebviewelectrontags

Image and Video links do not open in Electron app


Hi, I face a very weird thing from electron that I could not understand why. Suppose we develop a very simple webView tag based electron app like following link

simple electron webview sample

Then I changed the default website to www.varzesh3.com which has some video links always. Then when I click on the image or video links, those links does not open and I do not know why. It seems that because those links are not normal links, they wont open.

Please let me know if you have any ideas in this regard.

Thanks


Solution

  • I find a link and based on it, I can remove this bug.

    Choose which popups should be allowed from webview in electron app

    This is the updated fork of electron-webview project that in which I resolve that bug. https://github.com/monhi/electron-webview