Modal iframe html5 not working in Firefox

Problem:
I have tried to put my HTML5 project in an iframe inside a bootstrap modal and in Firefox I get an error of type “NS_ERROR_FAILURE” result: 2147500037. In the other browsers they work correctly.
I also tried putting it only in the iframe and without the modal and it works.
Do you know what may be happening?

ActivePresenter version: Version 8.5.4

OS: Windows 10

Notes:
These notes appear on the console:
Point to an error in the CanvasLoader section GitHub - heartcode/CanvasLoader: Heartcode CanvasLoader is a lightweight JavaScript UI library, which uses the HTML canvas element to draw and animate circular preloaders. The library is currently in beta, some minor changes and improvements might be done to it in the near future.

filename: “https://xxxxxxxxxxx/xxxxxxx/xxxxxxx/xxxxxxx/player/rlplayer.js”, lineNumber: 98, columnNumber: 0, data: null, stack: “t.draw@https://xxxxxxxxxxx/xxxxxxx/xxxxxxx/xxxxxxx/player/rlplayer.js:98:3794\nt.init@https://xxxxxxxxxxx/xxxxxxx/xxxxxxx/xxxxxxx/player/rlplayer.js:98:1170\ne@https://xxxxxxxxxxx/xxxxxxx/xxxxxxx/xxxxxxx/player/rlplayer.js:98:69\n$init@https://xxxxxxxxxxx/xxxxxxx/xxxxxxx/xxxxxxx/player/rlplayer.js:105:326687\ni@https://xxxxxxxxxxx/xxxxxxx/xxxxxxx/xxxxxxx/player/rlplayer.js:105:7271\n$init@https://xxxxxxxxxxx/xxxxxxx/xxxxxxx/xxxxxxx/player/rlplayer.js:105:45855\ni@https://xxxxxxxxxxx/xxxxxxx/xxxxxxx/xxxxxxx/player/rlplayer.js:105:7271\nopen@https://xxxxxxxxxxx/xxxxxxx/xxxxxxx/xxxxxxx/player/rlplayer.js:105:30198\n@https://xxxxxxxxxxx/xxxxxxx/xxxxxxx/xxxxxxx/tutorial.html:40:12\n” }

Hi,

Please extract the following file and replace rlplayer.js file in the HTML5 player output folder to see if it works
rlplayer.zip (146.2 KB)

Regards

Hi,

Doesn’t work with updated rlplayer. Same error occurs.
We think that it is because Firefox, by default, checks to be inside a modal external content and blocks it. But nevertheless, if it is not in the modal, that step does not check it.

Thanks

Hi,

Can you give live access to your HTML5 so that we can check?
You can share the link to support@atomisystems.com

Regards

Hi,

We have been doing tests and it must be that we had it cached when testing with the updated rlplayer.js. It works perfectly.
We hope that the program will be updated soon with the updated rlplayer.

Thank you so much

Thank you for your confirmation that it works.
We’ll fix it in the next update.

Regards

Hi @jhuete,

This issue has been fixed in ActivePresenter 8.5.5.

Regards

1 Like