Commit Graph

1133 Commits

Author SHA1 Message Date
Hakim El Hattab
2beb336cdb fix typo #2949 (thanks @SeanKilleen) 2021-05-05 10:00:28 +02:00
Hakim El Hattab
74f3c4b455 fix typo #2949 (thanks @SeanKilleen) 2021-05-05 09:59:41 +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
Hakim El Hattab
90a0d2d449 typo 2021-02-04 15:25:46 +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
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
ffadcc8502 v4.1.0 2020-10-12 11:38:26 +02: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
3a99a7b70a shuffle now applies to vertical slides as well 2020-08-17 14:42:27 +02: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
1b6a3b1e6f add support for auto-sized big text via r-fit-text 2020-06-05 13:17:43 +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
d272628f58 add support for data-visibility=hidden 2020-06-02 13:47:34 +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
61624aeafb 🤦 2020-06-01 16:07:49 +02:00
Hakim El Hattab
942304d862 add --slide-width/height css variables 2020-06-01 16:00:54 +02:00
Hakim El Hattab
bd19860b4d 4.0.2 2020-05-29 12:10:28 +02:00
Hakim El Hattab
eb026f79b4 Reveal.configure() now works pre-initialization 2020-05-27 15:34:12 +02:00
Hakim El Hattab
0c9c9d55f3 add Reveal.isReady to pre-initialized API 2020-05-27 13:15:26 +02:00
Hakim El Hattab
b1e5db0ec9 data-autoslide attribute takes precedence over video duration 2020-05-26 10:56:02 +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
Hakim El Hattab
b074050a6d 4.0.1, remove date from built files 2020-05-25 16:21:41 +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
f0b67ad6ea 4.0.0 2020-05-20 12:09:03 +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
a1f03cb337 Reveal.VERSION is now available prior to initialization #2651 2020-05-19 20:27:45 +02:00
Hakim El Hattab
f618de81de restore support for markdown speaker notes 2020-05-18 20:36:34 +02:00
Hakim El Hattab
3d2371f58c bundle html inside of notes.js, no more need for relatively locating external html 2020-05-18 15:59:18 +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
eeedaa17e1 new 'r-stack' helper class for stacking & centering multiple elements 2020-05-11 10:54:02 +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
772fa0308d make it possible to disable hash change listener with respondToHashChanges: false 2020-05-08 20:49:06 +02:00
Hakim El Hattab
3a032a836a fix auto-animate bug on centered slides 2020-05-08 20:33:28 +02:00
Hakim El Hattab
a0a1ae193f dont prevent page scrolling when swiping on embedded decks 2020-05-08 20:12:52 +02:00
Hakim El Hattab
cca2a3cdf3 fix print pdf scope exception 2020-05-06 22:04:01 +02:00