reveal.js icon indicating copy to clipboard operation
reveal.js copied to clipboard

Timer in notes - ReferenceError: Can't find variable: Reveal

Open gnpan opened this issue 6 years ago • 6 comments

Running a slide show created with pandoc, with reveal assets provided locally, in Safari 11.1.1, macOSX 10.13.5. When notes are activated, the slides display OK but the timer and clock do not work (same with other browsers). The console shows the following error:

ReferenceError: Can't find variable: Reveal getTimings — notes.html:484 setupTimer — notes.html:541 handleConnectMessage — notes.html:387 (anonymous function) — notes.html:354

Referencing the reveal.js URL instead of local access also does not work. Clearing browser cache did not help. Strangely, exactly the same file copied to a different computer with identical OS and browser setup shows the timer OK. Any troubleshooting tips greatly appreciated.

gnpan avatar Jul 09 '18 13:07 gnpan

It's possible this is the same issue as #2157. The fix for this is in the dev branch but not yet in master. If you're not already, you could try it with the dev branch to see if that fixes your issue.

denehyg avatar Jul 10 '18 00:07 denehyg

Or it could be the same as #2119, which still seems to be an issue.

denehyg avatar Jul 10 '18 00:07 denehyg

I tried the dev branch, but the issue remains. It does look like #2119. I just installed Firefox and it is OK, so Safari & Chrome have the issue. What I can't understand is why it works fine for Safari (but not Chrome) on a different mac with identical setup.

gnpan avatar Jul 10 '18 07:07 gnpan

This issue is still persistent in May 2023. Apparently there has been some change in Chrome that causes this to happen, but Reveal.js is practically useless without this fix

tailorvj avatar May 10 '23 15:05 tailorvj

Apparently, this issue is related to Chrome latest version update. To be sure try to uninstall the current version of Chrome and then install an older version manually, So that we can identify the source of the problem.

emnachouchane avatar May 11 '23 13:05 emnachouchane

Can you confirm this has been tested to work on previous chrome versions? Because I've seen people complain about this problem for 5 years now

On Thu, May 11, 2023, 15:25 emnachouchane @.***> wrote:

Apparently, this issue is related to Chrome latest version update. To be sure try to uninstall the current version of Chrome and then install an older version manually, So that we can identify the source of the problem.

— Reply to this email directly, view it on GitHub https://github.com/hakimel/reveal.js/issues/2190#issuecomment-1544006872, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJFUBEHKIIRBZKEZAVX2Q3XFTSDVANCNFSM4FI6XSSA . You are receiving this because you commented.Message ID: <hakimel/reveal. @.***>

tailorvj avatar May 12 '23 10:05 tailorvj