impress / impress.js

It's a presentation framework based on the power of CSS3 transforms and transitions in modern browsers and inspired by the idea behind prezi.com.
http://impress.js.org
MIT License
37.65k stars 6.66k forks source link

Firefox v95 and Safari v15 not supported #797

Closed tjex closed 2 years ago

tjex commented 2 years ago

Using: impress v1.1.0 Safari 15.1 Firefox 95.02 Mac OS 12.0.1 VS Code 1.63 with Live Server 5.6.1

I get the error message on startup: Your browser doesn't support the features required by impress.js, so you are presented with a simplified version of this presentation. For the best experience please use the latest Chrome, Safari or Firefox browser.

Both browsers are the latest versions.

Don't want to download Chrome unless I have to...

henrikingo commented 2 years ago

Do I understand correctly, that you tried two browsers (recent versions) and neither of them worked? Usually this happens because due to some JavaScript bug impress.js simply fails to load. This can even happen if you have some mistake in your HTML code (but generally shouldn't).

For example in Firefox, could you check Menu > More Tools > Web developer tools. In the normal case, the console should be completely clear. If there's an error - and you don't recognize it as a problem with your presentation - then please copy the error here and I'll have a look.

tjex commented 2 years ago

Ah yes. This is what I get (I'm just using the 2D-Navigation example and have not changed anything):

Screenshot 2021-12-27 at 10 28 36

henrikingo commented 2 years ago

Ah, I see. The issue is that your browser is blocking impress.js from loading at all. localhost/127.0.0.1 has special protections for JavaScript usage. They are a bit different for each browser too, so off the top of my head I don't remember the details for each. Short version is just that this will not work.

If it's possible for you to just open the impress presentation locally, meaning as a file:/// URL, then that should work. Alternatively, try giving your localhost server some real looking domain name in your /etc/hosts file. This may trick the browser to think it's not running on localhost. Finally, some browsers may allow to change security settings so that it doesn't block javascript from localhost.