FsReveal icon indicating copy to clipboard operation
FsReveal copied to clipboard

Offline support?

Open haf opened this issue 9 years ago • 11 comments

I suggest you offline support.

Offline support is very important for presentations as one may not always have WiFi or a charged phone. Especially so while travelling and giving presentations outside one's own office.

I think it's pretty straight forward to bring together:

  • https://github.com/NekR/offline-plugin
  • https://github.com/jchull/reveal.js-webpack-starter for how to configure
  • Suave rc1 – time to start the upgrade

One thing that needs fixing is the pulling in of external deps; every presentation I give using FsReveal, one or two of the foreign CDNs don't properly serve their resources leading to my presentation being delayed:

    <script src="//code.jquery.com/jquery-1.8.0.js"></script>
    <script src="//code.jquery.com/ui/1.8.23/jquery-ui.js"></script>
    <script src="//netdna.bootstrapcdn.com/twitter-bootstrap/2.2.1/js/bootstrap.min.js"></script>
    <script type="text/javascript" src="//cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
    <link href="//netdna.bootstrapcdn.com/twitter-bootstrap/2.2.1/css/bootstrap-combined.min.css" rel="stylesheet">

I need to know to what extent any of the above libs have been customised? Primarily Reveal.js' changes is most relevant?

haf avatar Nov 09 '16 09:11 haf

I heard others have problems with offline suppot (like @isaacabraham) as well. So we are open for PRs.

forki avatar Nov 09 '16 09:11 forki

img_1965

I'll see what the weather prompts me to do.

haf avatar Nov 09 '16 09:11 haf

  • What's the reason for jQuery?
  • Ran into https://github.com/hakimel/reveal.js/issues/1729

haf avatar Nov 09 '16 10:11 haf

I dunno. It was there from original template. I assume navigation and highlighting and stuff

forki avatar Nov 09 '16 10:11 forki

Feedback in the PR welcome

haf avatar Nov 09 '16 13:11 haf

@haf Is there any progress on this front? I'd love offline support.

ErikSchierboom avatar Jan 18 '17 07:01 ErikSchierboom

There's a PR that basically works, that you could test?

haf avatar Jan 18 '17 08:01 haf

There are two PR's related to offline support. #103 and #104. Which one should I try?

ErikSchierboom avatar Jan 18 '17 09:01 ErikSchierboom

No 103 is mine.

haf avatar Jan 18 '17 09:01 haf

I've just tested on my MacBook, the finding are in #103

ErikSchierboom avatar Jan 18 '17 18:01 ErikSchierboom

You probably already know this but if you can live with static slides for the offline version, something you can do right now is use the print to pdf workflow described here: https://github.com/hakimel/reveal.js/#pdf-export

danyx23 avatar Nov 18 '17 08:11 danyx23