Commit Graph

94 Commits

Author SHA1 Message Date
hakimel 2a239aedca debounce messages from notes -> main window, fixes #3147 2022-03-09 10:25:30 +01:00
hakimel fc861fca50 throttle calls to replaceState to fix security error when navigating quickly in Safari #3147 2022-03-09 09:44:31 +01:00
hakimel 5e12c6aeb7 additional cleanup when destroying #1145 2022-02-21 14:28:11 +01:00
hakimel 1e0cbe6779 reveal.js can now be uninitialized by calling Reveal.destroy() #1145 #3134 2022-02-21 13:41:36 +01:00
hakimel 74c0fbb6a2 fix read issue that caused double navigations fixes #3079 2021-11-24 11:30:12 +01:00
hakimel c5d549810e refactor #3078 2021-11-24 11:07:11 +01:00
vanch3d bcf83153d7 adding type to the video source tag 2021-11-23 09:42:22 +00:00
hakimel c79f4b5a4f fix issue with deck-wide backgroudns in pdf exports + fix #2865 2021-11-16 14:10:29 +01:00
hakimel a6c0f3efac refactor hash parsing, fixes issue with autoplaying media not starting from internal links on mobile devices 2021-11-10 20:08:37 +01:00
hakimel 05e57dea66 fix issue with loading base64 images #2978 2021-09-28 13:02:16 +02:00
Hakim El Hattab 2aed592d1f fix last slide shortcut in looped presentations #3007 2021-09-16 10:43:40 +02:00
Hakim El Hattab 90bbe8be4f new shortcuts; alt+arrow key skips fragments, shift+arrow key jumps to last slide in the given direction #1105 2021-09-06 13:02:58 +02:00
Hakim El Hattab 31c65975b2
Merge pull request #2896 from coffeenotfound/feature-auto-animate-restart
Implement auto-animate id and restart
2021-05-27 09:54:46 +02:00
Hakim El Hattab 892c752a4b merge #2843 with minor tweaks 2021-05-05 11:02:02 +02:00
Hakim El Hattab 236d3e3722 tidy up code for #2940 2021-04-28 09:03:27 +02:00
Hakim El Hattab a112712f12
Merge pull request #2940 from cmeessen/fix_multiple_data-background
Fix: multiple image-urls in data-background-image
2021-04-28 08:55:30 +02:00
cmeessen 5d8d673117 Add missing semicolons 2021-04-23 10:15:40 +00:00
Hakim El Hattab 6d735ddaf8 stop playing media inside of fragments when the fragment is hidden 2021-04-23 10:56:18 +02:00
Christian Meeßen 8347a2de58 Allow multiple data-background 2021-04-23 08:55:36 +00:00
Hakim El Hattab 444d127053
Merge pull request #2933 from csachs/hasDarkBackgroundNamedColor
Use computed background style if colorToRgb fails (fixes #2635)
2021-04-14 13:20:42 +02:00
Hakim El Hattab be110fad11 prevent accidental swipe gestures when scrubbing video/audio timelines 2021-04-12 11:17:06 +02:00
Christian Sachs d1f6e6cce9 use computed background style if colorToRgb fails
fixes #2635
2021-04-11 13:25:36 +02:00
Jan Katzer cec99c5261 Implement auto-animate id and restart 2021-02-07 18:41:16 +01:00
Jeroen Hermans acafabf023
Merge branch 'dev' into jh/print-optimize 2020-12-20 17:44:20 +01:00
Hakim El Hattab f576b98fbd rerun r-fit-text based on printed slide size, fixes overflow when printing to PDF #2865 2020-12-17 08:49:51 +01:00
Jeroen Hermans e57ff233a4 Group background reads and writes 2020-11-16 09:47:58 +01:00
Jeroen Hermans 10f02ece99 Group pdf setup reads and writes 2020-11-16 09:47:19 +01:00
Jeroen Hermans 33c4c1c5d2 Batch print DOM updates 2020-11-15 22:29:50 +01:00
Jeroen Hermans 49f78535d1 Use const in print controller 2020-11-15 22:29:23 +01:00
Jeroen Hermans 957f928c70 Prevent layout thrashing by scroll height 2020-11-15 22:29:23 +01:00
Jeroen Hermans 3d701edc71 Limit slide number DOM mutations 2020-11-15 22:01:50 +01:00
Jens Lechtenbörger d2dff6a821 Fix target for click on progress bar
The progress bar shows how many slides have been passed in total.
However, when clicking on the progress bar, the target slide is
computed among the subset of /horizontal/ slides.  Thus, when the new
slide is displayed, the progress bar has usually changed to a point
that is unrelated to the clicked one, which I find surprising.

With this change, the target slide is computed from the number of
total slides.  Thus, after a click on the progress bar, the resulting
progress is close to the clicked point, which seems more natural to
me.
2020-11-08 17:39:04 +01:00
Hakim El Hattab 4d62dcc674 Merge branch 'master' of github.com:hakimel/reveal.js into dev 2020-09-09 10:26:42 +02:00
Tim Gates 2c121d22ac
docs: Fix simple typo, transiition -> transition
There is a small typo in js/controllers/autoanimate.js.

Should read `transition` rather than `transiition`.
2020-09-08 08:02:34 +10:00
Hakim El Hattab 9ff27cfbc9 bg videos remain muted on mobile, otherwise broken when navigating with swipe gestures 2020-06-16 11:20:15 +02:00
Hakim El Hattab 2fccb77405 add 'playsinline' to all inline videos, dont mute background videos on mobile 2020-06-16 10:27:09 +02:00
Hakim El Hattab be460814ac correct scope for fit-text selector 2020-06-09 10:32:56 +02:00
Hakim El Hattab aa6677911c fit-text helper now triggers lazyily when slide enters view distance 2020-06-09 10:28:01 +02:00
Hakim El Hattab 66cbd66fb6 fix slide numbering issue with uncounted horizontal slides (fixes #2675) 2020-06-05 11:47:46 +02:00
Hakim El Hattab ac79c7cd8b leave the progress bar empty if there's < 2 slides 2020-06-05 09:37:44 +02:00
Hakim El Hattab c91074761a don't write '#/' to url on first slide, remove history api feature detection 2020-06-02 09:08:00 +02:00
Hakim El Hattab b7487b8b4f polyfill element.closest for ie11 2020-05-26 10:45:05 +02:00
Hakim El Hattab e6244a57b5 fix polyfills, add ie11 support 2020-05-26 09:47:01 +02:00
Lee Sheng Long 4e839b3d78 fix slide notes printing 2020-05-21 23:56:23 +10:00
Hakim El Hattab 35db006c02 fix overlapping ids when auto-animating multiple presentations in same window 2020-05-20 19:14:45 +02:00
Hakim El Hattab df61f9e1fa progress bar width set via scale instead of width for perf 2020-05-20 10:42:55 +02:00
Hakim El Hattab f04a00672c fix and tests for custom key bindings in help overlay 2020-05-12 13:33:19 +02:00
Hakim El Hattab 664beff715 add focus controller, manages keyboard focus across multiple embedded decks 2020-05-11 09:15:02 +02:00
Hakim El Hattab ba0b367ed9 remove nuking of hash changes when hash is disabled 2020-05-08 20:53:10 +02:00
Hakim El Hattab 3a032a836a fix auto-animate bug on centered slides 2020-05-08 20:33:28 +02:00