File called by link in the WebExtensions toolbar button not working

Hi

I just learned to add a toolbar button as per the instructions given here:

In my case, I have added a link to an HTML page that loads an Flash (SWF) file. The HTML page and the SWF file are in the same folder. However, when I click the link in the toolbar button, only the HTML page loads. The Flash (SWF) does not.

Expected outcome:

  1. User clicks the toolbar button. It shows a list of hyperlinks.
  2. User clicks one of the hyperlinks which launches the HTML page.
  3. The HTML page opens in a new window loading an Flash (SWF) file.

Actual outcome:

  1. User clicks the toolbar button. It shows a list of hyperlinks.
  2. User clicks one of the hyperlinks which launches the HTML page.
  3. The HTML page opens in a new window but it is blank.

I have activated Flash. It works fine when I launch the HTML page separately.

Please help.

Sreekanth

Did you solve this? It sounds like a bug.

Honestly though, is there a way you can do it without flash? Flash is supposed to be deprecated and removed from Firefox soon, from what I hear.

No solution yet.

I tried calling a HTML5 output by linking it to the Index.html page. Even that is failing. I tested playing an mp4 video embedded in an HTML page. That is working fine though.

I’m pretty sure this is a bug. If you would like to see flash working, the only thing you can do is file a bug with the team. This article has some info on bugzilla - https://hacks.mozilla.org/2015/10/porting-chrome-extensions-to-firefox-with-webextensions/

Thanks. I will check that.