Commit Graph

1149 Commits (76a81939a7b361b67706d71a9137920370a2af64)

Author SHA1 Message Date
Hakim El Hattab ea57e697a1 Revert "remove pdf height offset"
This reverts commit f76b4fda93.
2018-03-20 10:09:47 +01:00
craigsdennis 8ff5fe4986 Updates copyright to 2018 2018-03-16 22:41:16 -07:00
Hakim El Hattab f76b4fda93 remove pdf height offset 2018-03-16 13:52:19 +01:00
Hakim El Hattab 511397c177 prevent missing 'present' class when navigating to same slide twice 2018-03-14 12:03:42 +01:00
Matt Rakow 389c3f52b5 Prefer W3C pointer events, remove pointerEnabled references (it is not part of the standard), unconditional event removal 2018-03-07 09:18:26 -08:00
Hakim El Hattab 0282413b69 fix autoplay of inline videos in ios 2018-03-05 14:59:32 +01:00
Hakim El Hattab 5848a432d9 Merge branch 'patch-1' of https://github.com/Jmuccigr/reveal.js into dev 2018-02-22 10:08:02 +01:00
Martin Jurča 250580fc4c added missing documentation 2018-02-20 16:08:29 +01:00
Martin Jurča 6a2c5b4de8 documentation 2018-02-20 10:30:56 +01:00
Martin Jurča 8468d82433 fixed showing speaker's view with timings/pacing while serving the presentation from the file system 2018-02-20 10:29:16 +01:00
Hakim El Hattab 325162692e navigateNext no longer gets stuck on first stack when looping is enabled 2018-02-12 13:49:33 +01:00
John Muccigrosso 5d273cfb29
Background repeat & position to parallax background 2018-02-10 12:32:16 -05:00
Benjamin Tan d5f4edeeef Merge pull request #1836 from RobertBaron/background-whitespace-uri
Allow whitespace on background-images, w3 compliance
2018-02-09 20:05:26 +08:00
Benjamin Tan 18e7dd2173 Cleanup code style. 2018-02-08 11:22:01 +08:00
Hakim El Hattab 27aba10756 fix looping of presentations that only have vertical slides 2018-02-07 13:45:57 +01:00
Hakim El Hattab 5eba331935 Merge branch 'fragment-in-url' of https://github.com/dougalsutherland/reveal.js into dev 2018-02-07 10:33:19 +01:00
Benjamin Tan 7991693bde Docs: add note on how to enable/disable preview links individually.
Closes #2005.
2018-02-07 12:51:14 +08:00
Hakim El Hattab e704b3ffc8 fix bug where left/right arrows appeared when there were no horizontal slides 2018-01-25 09:59:04 +01:00
Hakim El Hattab de746bb642 reorganize config options 2018-01-25 09:26:10 +01:00
Hakim El Hattab e3205a55be
Merge pull request #2078 from bnjmnt4n/data-background
Allow `data-background` images to load even if there is whitespace at…
2018-01-22 10:53:44 +01:00
Benjamin Tan 6816a0205e Allow `data-background` images to load even if there is whitespace at the end.
Fixes #2032.
2018-01-22 17:17:08 +08:00
Benjamin Tan fd7894fa13 Allow JS files with query strings to be loaded.
Fixes #1944.
2018-01-22 16:33:10 +08:00
Dougal J. Sutherland d68423f310 fix fragment handling when desired fragment is 0 2018-01-21 18:03:48 +00:00
Dougal J. Sutherland 260f287926 optionally put the fragment in the URL 2018-01-04 20:09:01 +00:00
Hakim El Hattab 1f1f86ec73 Merge branch 'issue_2041' of https://github.com/denehyg/reveal.js into dev 2017-11-29 09:54:48 +01:00
Hakim El Hattab c966c118fa minor formatting tweaks 2017-11-29 09:46:45 +01:00
Hakim El Hattab 6028844452 Merge branch 'plugin-key-bindings' of https://github.com/denehyg/reveal.js into dev 2017-11-29 09:38:05 +01:00
Greg Denehy 8579fc773d Fixed issue with getProgress() when called from slidechanged event on edge case 2017-11-25 11:07:09 +10:30
Hakim El Hattab a0a9aa7821 optimize use of getSlideBackground by avoiding index lookup 2017-11-23 15:45:15 +01:00
Hakim El Hattab 65bdccd580 lab.hakim.se/reveal-js -> revealjs.com 2017-11-22 14:46:55 +01:00
Hakim El Hattab 8a63686017 3.6.0 2017-11-22 14:10:33 +01:00
Hakim El Hattab a03e803628 make it possible to load/unload slides via the api 2017-11-21 15:38:44 +01:00
Hakim El Hattab 4022cbfe84 simplify logic for finding slide backgrounds 2017-11-21 15:29:40 +01:00
Nicolas Normand fa8a7334ce URI encode name hash 2017-11-17 11:59:21 +01:00
Hakim El Hattab 463770cc53
Merge pull request #2029 from lechten/export-isSpeakerNotes
Export isSpeakerNotes
2017-11-09 11:41:08 +01:00
Hakim El Hattab 3d1d7683b2 reconfiguring no longer unloads iframes on current slide 2017-11-09 11:40:25 +01:00
Hakim El Hattab 3beda63a7d allow to be called directly before or after (closes #2021) 2017-11-09 10:26:35 +01:00
Jens Lechtenbörger 44a5673e6f Export isSpeakerNotes 2017-11-05 10:31:43 +01:00
Hakim El Hattab 4a4719b587 always show media controls on mobile devices 2017-10-04 11:13:09 +02:00
Hakim El Hattab 56504b50a9 support negative values in query config overrides 2017-09-07 10:33:44 +02:00
Maximilian Köhl 08e0f5e47b fix indent: replace spaces with tabs 2017-08-08 22:53:32 +02:00
Maximilian Köhl a2cf23b30c PDF export: add option to export one page per fragment 2017-08-08 22:47:10 +02:00
Hakim El Hattab bfd431a0c4 add option for disabling all forms of auto-sliding 2017-07-27 08:42:40 +02:00
Hakim El Hattab af7c33b902 unload lazy loaded videos that are moved out of view 2017-06-14 19:11:08 +02:00
Hakim El Hattab 1233092223 prevent mobile safari header from covering presentation content 2017-06-13 09:43:05 +02:00
Hakim El Hattab 9342d19b5a fix centering of edge-aligned controls 2017-06-12 10:22:47 +02:00
Hakim El Hattab 9ab14374e5 change condition for detecting when there are horizontal slides 2017-06-02 12:13:41 +02:00
Hakim El Hattab 0388c96e60 'showNotes' does nothing when there are no notes 2017-05-24 10:05:16 +02:00
Hakim El Hattab 7ae18c6b1e 'no notes on this slide' placeholder 2017-05-18 16:03:20 +02:00
Hakim El Hattab b7b3fe3ed4 comment typo 2017-05-18 15:40:17 +02:00
Hakim El Hattab 6dde00fb2e improve controls on touch devices 2017-05-18 14:11:48 +02:00
Hakim El Hattab fb1b8a2790 revise progress to make them easier to override 2017-05-18 09:58:25 +02:00
Hakim El Hattab 67507ccb9d controlsHints -> controlsTutorial 2017-05-16 15:40:50 +02:00
Hakim El Hattab 9e013ccbb2 in/out transitions for controls 2017-05-16 15:31:05 +02:00
Hakim El Hattab 617c17be3c add controlsHint option, animates vertical arrow first time we encounter a vertical slide 2017-05-16 15:04:32 +02:00
Hakim El Hattab 58dc6b7c36 adjust controls layout when there are no vertical or horizontal slides in the deck 2017-05-16 09:45:37 +02:00
Hakim El Hattab 2cc5ae946b new, fixed, speaker notes layout 2017-05-16 09:45:37 +02:00
Hakim El Hattab 44a355b6e9 'controls-placement' -> 'controls-layout', cut back on controls spacing 2017-05-16 09:45:37 +02:00
Hakim El Hattab 2155415767 more flexible back arrow controls option 2017-05-16 09:45:37 +02:00
Hakim El Hattab e45a425575 default to bottom right controls, rename soften arrows option 2017-05-16 09:45:37 +02:00
Hakim El Hattab 4fb8e78eb4 collapse control element size when corner aligned 2017-05-16 09:45:37 +02:00
Hakim El Hattab a9fcaa6f9e new controls are used by default, add config options 2017-05-16 09:45:37 +02:00
Hakim El Hattab 1319016957 new optional controls aligned to screen edges 2017-05-16 09:45:37 +02:00
Greg Denehy b86b667d25 Changes to fix failed jshint test related to Key Binding API 2017-04-30 19:42:45 +09:30
Greg Denehy f8bc679182 Merge branch 'dev' into plugin-key-bindings 2017-04-30 17:42:16 +09:30
Greg Denehy e48e1e19b9 Changed custom key binding config properties to use 'keyCode' instead of 'code' 2017-04-30 16:35:35 +09:30
Greg Denehy 8bf9986fa2 Pass through key event when calling keyboardCondition() to allow conditional function to filter on key codes 2017-04-30 15:24:42 +09:30
Greg Denehy 7297474b2e Added programatic support for custom key bindings with optional descriptions to be added to the help screen 2017-04-30 15:23:04 +09:30
Hakim El Hattab 360bc94006 new fix for prematurely autoplaying background videos 2017-04-27 18:49:20 +02:00
Hakim El Hattab b19dc7fc80 don't autoplay background videos in overview mode 2017-04-27 16:36:25 +02:00
Hakim El Hattab 8e93a1ddf9 3.5.0 2017-04-26 14:21:54 +02:00
Adam Spiers ef9cbbbbb9 add new getSlides() API
This can be used by plugins which are concerned with helping the
presenter with their pace.
2017-04-20 15:18:15 +01:00
Adam Spiers 40912ace1f clarify getTotalSlides() returns the number of slides 2017-04-20 15:18:15 +01:00
Adam Spiers d75afd6108 expose getPastSlideCount() via public API
This can be used by plugins which are concerned with helping the
presenter with their pace.
2017-04-20 15:18:15 +01:00
Hakim El Hattab 9bbd5f2735 formatting 2017-04-07 10:10:11 +02:00
Hakim El Hattab 2289b92961 Merge pull request #1851 from astone123/master
Fix data-background-video autoplay on iOS Safari
2017-04-07 10:02:58 +02:00
Hakim El Hattab d1d44cf6b7 formatting 2017-04-07 09:55:55 +02:00
Hakim El Hattab 30f2af0ac5 Merge pull request #1844 from riezebosch/pdf-print-stretch
print-pdf layout slide contents to fit stretch elements
2017-04-07 09:54:39 +02:00
Hakim El Hattab c3e96f1f0e make pdf page height offset configurable 2017-04-04 14:02:54 +02:00
Hakim El Hattab 2584a6d970 new cli and in-browser pdf printing compatible fix for #1804 2017-04-04 13:37:01 +02:00
Hakim El Hattab 3ea7e2ff59 allow fullscreen for background iframes 2017-03-30 16:26:49 +02:00
Hakim El Hattab a0a3b4f80d add autoPlayMedia config option, overrides individual autoplay settings 2017-03-23 11:44:02 +01:00
ADAM STONE d9dd9a92fb Fix video background autoplay on iOS 2017-03-17 22:47:25 -04:00
Manuel Riezebosch 34f3773bf0 print-pdf layout slide contents to fit stretch elements
layout() and thereby layoutSlideContents() is never invoked
when isPrintingPdf() is true so stretch elements are not
sized correctly.
This is ensured now by invoking the layoutSlideContents
from SetupPDF(). There seems no need to scale down
like in other PR's is suggested.
2017-03-14 19:16:08 +01:00
Hakim El Hattab 7e6fb9ec87 avoid npe on iframe postMessage 2017-03-14 09:06:39 +01:00
RobertBaron f070ba47ec Allow whitespace on background-images, w3 compliance 2017-02-23 19:03:15 -06:00
Hakim El Hattab b143e5976b tweaks to showSlideNumber config #1833 2017-02-20 11:49:36 +01:00
Hakim El Hattab 8f7e4bfd41 Merge branch 'slidenum' of https://github.com/malcomio/reveal.js into dev 2017-02-20 11:41:31 +01:00
Malcolm Young da23d682c6 allow configuration of which view slide number appears on - fixes #1791 2017-02-17 15:08:57 +00:00
Hakim El Hattab 1cee8998a0 fix overview rendering issues in latest chrome #1649 2017-02-17 10:50:52 +01:00
Hakim El Hattab 313a23ba2b merge autoplay conflict #1771 2017-02-14 14:51:43 +01:00
Hakim El Hattab 5ad66f3779 docs for #1816 and remove showHelp 2017-02-09 11:37:47 +01:00
Hakim El Hattab 1749f0d019 Merge pull request #1816 from Frazer/patch-1
added toggleHelp function
2017-02-09 11:31:00 +01:00
Hakim El Hattab adc326139a update deserialize regex to work with decimals 2017-02-08 12:56:51 +01:00
Frazer Kirkman 2a1303f3c1 added override parameter to toggleHelp function 2017-02-07 19:53:58 +01:00
Frazer Kirkman bede9a22e8 added toggleHelp function
this way a key can be given ability to toggleHelp on and off.  Previously Reveal.showHelp could open the help screen, but no way to close it.
2017-02-05 18:42:59 +01:00
Hakim El Hattab 9f99ac8b84 adjust comment for display config value #1325 2017-02-02 10:47:39 +01:00
Hakim El Hattab 8a0dca2ba0 Merge branch 'issue-1324' of https://github.com/mojavelinux/reveal.js into dev 2017-02-02 10:42:21 +01:00
Hakim El Hattab dc159f2825 Merge pull request #1644 from rajgoel/dev
Turn off preview links locally
2017-01-31 16:45:07 +01:00
Hakim El Hattab 7daa0e04de make background videos work on ipad #1778 2017-01-31 16:24:06 +01:00
Hakim El Hattab cd36c9274f Merge branch 'master' of github.com:hakimel/reveal.js into dev 2017-01-25 11:01:40 +01:00
Hakim El Hattab 9f8e4d5742 3.4.1 2017-01-25 10:51:25 +01:00
Hakim El Hattab 953d302f8b adjust pdf margins instead of heights to fix #1804 2017-01-25 10:46:03 +01:00
Hakim El Hattab 84202fa072 adjust pdf margins instead of heights to fix #1804 2017-01-25 10:43:26 +01:00
Hakim El Hattab d9dcff1503 additional fix for empty pages in pdf exports #1804 2017-01-24 15:29:34 +01:00
Hakim El Hattab 286b69b61f fix empty pages in pdf exports (closes #1804) 2017-01-24 15:29:27 +01:00
Hakim El Hattab 934c2e9730 additional fix for empty pages in pdf exports #1804 2017-01-24 15:27:37 +01:00
Hakim El Hattab d4133f0160 fix empty pages in pdf exports (closes #1804) 2017-01-24 14:48:36 +01:00
Hakim El Hattab cb16f27dd3 Merge pull request #1768 from demoneaux/background-images
Allow background images without protocols to have query hashes/parameters.
2017-01-23 11:11:28 +01:00
Hakim El Hattab e8164c1392 2017 2017-01-20 10:35:01 +01:00
Hakim El Hattab 98de9327a7 remove unused argument 2017-01-19 12:08:28 +01:00
Hakim El Hattab 941b86b6c3 works with video, defaults to (same as for images) 2017-01-18 10:43:29 +01:00
Hakim El Hattab 84090b882f fix race condition by updating backgrounds after slide visibility 2017-01-17 18:37:43 +01:00
Hakim El Hattab f9e5467000 prevent autoplaying backgrounds from playing if slide is hidden 2017-01-17 13:19:10 +01:00
Hakim El Hattab a38207f1d7 wait for in-slide video/audio to load before playing, reuse same autoplay logic for slide backgrounds 2017-01-16 16:11:20 +01:00
Hakim El Hattab fb8414f4cb 3.4.0 2017-01-10 13:47:33 +01:00
Hakim El Hattab f2bd9d2970 don't show error message while iframe fades in #1577 2016-12-13 16:16:51 +01:00
Hakim El Hattab 001d4d94d3 Merge branch 'add-refused-to-display-tips-to-link-preview' of https://github.com/Huxpro/reveal.js into dev 2016-12-13 15:57:43 +01:00
Markku Roponen 962c6c133b #1770, set 'data-paused-by-reveal' attribute only for the media elements, which are not already in paused state. 2016-12-13 16:02:26 +02:00
Markku Roponen da40eafccd #1770, added second argument for setAttribute 2016-12-12 16:44:24 +02:00
Markku Roponen 54bfad62d7 #1770, fixed function name. 2016-12-12 16:41:52 +02:00
Markku Roponen 6831f6c174 #1770, resume playback for paused media. 2016-12-12 16:30:07 +02:00
Benjamin Tan 441a26cf90 Allow background images without protocols to have query hashes/parameters.
Closes #1603.
2016-12-11 18:14:02 +08:00
Hakim El Hattab 19188205de add pdf-ready event; dispatched when the presentation is laid out and ready to print 2016-11-09 11:56:55 +01:00
Hakim El Hattab e76855e257 remove unused dom lookup 2016-10-06 11:01:44 +02:00
Hakim El Hattab ce55d1a179 fix merge conflict for #1634 2016-10-05 12:21:21 +02:00
Hakim El Hattab 02f95f4de6 code format tweaks 2016-10-05 12:00:21 +02:00
Maarten Schroeven 7e99626b14 only use nodeType 1 and 3 (only relevant types) 2016-10-05 11:54:46 +02:00
Maarten Schroeven ab33b31f0a limit text written to the status div 2016-10-05 11:54:46 +02:00
Hakim El Hattab 693a370f06 remove issue comment 2016-10-05 11:36:56 +02:00
Gerald 969885a7dc ignore delta=0 mousewheel event
fix #1607
2016-10-05 11:29:47 +02:00
Hakim El Hattab 0b6585bd44 prevent exception when initializing with no slides #1678 #1679 2016-10-05 11:23:41 +02:00
chadmorrow ea8964ddbf autoSlide duration with playbackRate
The autoSlide duration of media elements with data-autoplay now takes the playbackRate of said media element into account when setting the duration so that autoSlide and the media element stay in sync.
2016-10-05 11:12:27 +02:00
Hakim El Hattab 255bde174c Merge branch 'r400-linux' of https://github.com/jroper/reveal.js into dev 2016-10-05 11:07:10 +02:00
James Roper 1301de9e39 Logitech R400 on Ubuntu blackout button support
On Ubuntu 16.04, the Logitech R400's blackout button gets mapped to 'v'
(keyCode 86). I don't know why this is, but since nothing else is
currently using 'v', this allows it to be supported out of the box.
2016-10-01 22:00:00 +10:00
Hakim El Hattab 79728e25cd autoplay support for content inside of fragments 2016-09-20 13:41:38 +02:00
Asvin Goel a652e0a8ea Allow switching off preview links
The data-preview-link=false tag can be used to switch off preview links
2016-07-21 12:15:07 +02:00
Hakim El Hattab 304b0292be null computed style to avoid npe 2016-07-04 14:46:46 +02:00
Hakim El Hattab ab2bb869a3 null check to avoid occasional npe 2016-07-04 13:32:03 +02:00
Hakim El Hattab 6447b59ac5 ready flag on .reveal container 2016-07-01 08:44:27 +02:00
Charles Grigg 59f3395c7f Update JSDocs and fix typos 2016-06-29 23:10:55 -04:00
Hakim El Hattab 1da1ff0d6d use first fragment's data-autoslide value when there is no current fragment 2016-06-27 11:13:09 +02:00
Hakim El Hattab 65a90cc75d remove unused dom reference 2016-06-22 09:31:05 +02:00
Hakim El Hattab 8d4cb810d6 move speaker notes into page container when printing pdf 2016-06-21 14:21:42 +02:00
Hakim El Hattab bac187f3a0 request fullscreen on documentElement instead of body (#1621 #1624) 2016-06-21 11:33:07 +02:00
Hakim El Hattab a12a17b2d7 request fullscreen on documentElement instead of body (#1621 #1624) 2016-06-21 11:30:12 +02:00
Hakim El Hattab 8162855d23 increase default font sizes, adjust config defaults for less margings and larger max scale #1605 2016-06-10 10:58:40 +02:00
Hakim El Hattab 6bfa48a667 prevent repeated initialization #1616 2016-06-10 10:41:16 +02:00
Hakim El Hattab ca92d22adc add showHelp to api #1611 2016-06-10 10:04:54 +02:00
Hakim El Hattab 4321266276 include layout for notes outside of pdf exports 2016-05-26 10:09:09 +02:00
Hakim El Hattab 3111d3b1ae support for 'separate-page' layout for notes in PDF exports #1518 2016-05-26 09:57:27 +02:00
Hakim El Hattab 9cd7f3f37b code format 2016-05-23 10:54:40 +02:00
Hakim El Hattab 884d3cd177 Merge pull request #1585 from jasonkiss/feature/disabled-buttons
set/remove @disabled on navigation buttons
2016-05-23 10:52:14 +02:00
Hakim El Hattab e2fa1d966c ocd 2016-05-23 10:50:39 +02:00
Hakim El Hattab 2418a12cb9 Merge pull request #1586 from jasonkiss/feature/accessible-speaker-notes
make speaker notes keyboard accessible
2016-05-23 10:48:39 +02:00
Jason Kiss dec6d1745b make speaker notes keyboard accessible
Places div.speaker-notes in default kbd Tab order, and when focused,
prevent slide navigation with up/down arrows, allowing up/down arrow
keys to scroll div.speaker-notes.
2016-05-10 11:02:45 +12:00
Jason Kiss fb8bbaac00 set/remove @disabled on navigation buttons
Keeps disabled buttons out of kbd tab order and indicates to assistive
tech like screen readers that button is disabled. Otherwise buttons
that aren’t enabled remain in kbd Tab order and screen readers announce
them as buttons, but they don’t work.
2016-05-10 10:03:05 +12:00
黄玄 e2a8634057 add refused-to-display tips in link-preview-overlay 2016-05-02 01:42:11 +08:00
Hakim El Hattab 9b11915c3a fix pdf bg layering, simplify code 2016-04-28 17:07:26 +02:00
Hakim El Hattab 5558103522 make max pages per slide limit configurable 2016-04-28 11:31:11 +02:00
Hakim El Hattab fcb6ea8385 prevent pages from overflowing when printing to pdf 2016-04-28 11:16:36 +02:00
Hakim El Hattab 66c4e6a77f use scrollHeight instead of custom measurement 2016-04-27 11:12:16 +02:00
Hakim El Hattab 539e774d31 3.3.0 2016-04-18 15:29:51 +02:00
Hakim El Hattab f0ee41a22d Merge branch '1549' of https://github.com/RopoMen/reveal.js into dev 2016-04-13 15:26:06 +02:00
Hakim El Hattab 5dd9067150 overview now works with percentage based width/height #1247 2016-04-13 15:21:30 +02:00
Markku Roponen a63c8cab92 Fixes #1549, now UA match is limiting out MS Edge and Chrome detection is improved. Also improved UserAgent access by storing it in to a local variable, it was accessed so many times in different places. 2016-04-08 15:47:27 +03:00
Hakim El Hattab 520fa4986e generalize scroll offset prevention 2016-04-07 09:07:19 +02:00
Hakim El Hattab 2625a9292e add 'shuffle' config value and API method #1506 #1089 2016-03-20 17:57:52 +01:00
Hakim El Hattab acc40095d5 use css to scale slides up in safari 2016-02-29 11:31:00 +01:00
Hakim El Hattab 3d33d27b86 tweak implementation of #1376 2016-01-08 14:16:42 +01:00
Hakim El Hattab 06cdd9b7cd include speaker view keyboard shortcut when applicable #1466 2016-01-08 13:49:06 +01:00
Hakim El Hattab b7644a3bf7 expose version number through #1451 2016-01-08 10:26:53 +01:00
Hakim El Hattab fcb4b05de7 Merge branch 'master' of github.com:hakimel/reveal.js into dev 2016-01-04 09:31:46 +01:00
Hakim El Hattab 18b644cf8f ©️ ©️ ©️ ©️ ©️ closes #1469 2016-01-04 09:29:55 +01:00
Razvan Caliman b49664621f add option to mute background videos (updated) 2015-12-03 09:43:32 +00:00
Hakim El Hattab 6949ebc762 tweak 2015-11-19 15:44:50 +01:00
Hakim El Hattab 0e763c7171 2x playback controls for retina displays 2015-11-19 15:39:29 +01:00
Hakim El Hattab c8319b9b1a add autoSlideMethod to default config 2015-11-19 15:35:12 +01:00
Hakim El Hattab 0cd4e2c84f Merge branch 'dev' of github.com:hakimel/reveal.js into dev 2015-11-19 15:30:43 +01:00
MichiK a398a02edb Fix build error 2015-11-19 13:51:22 +01:00
MichiK 4a45557b57 Add a more flexible autoSlideMethod option
Auto-sliding will now use the method specified in the config if it is
a function or default to navigateNext.
2015-11-19 13:00:01 +01:00
Hakim El Hattab bef2722eed simplify condition #1434 2015-11-19 10:38:52 +01:00
MichiK c0afa01e6a Add autoSlideRight option
When the autoSlideRight config option is active, the auto-sliding
will always navigate to the right and never down even if slides are
present there. This allows hidden "bonus slides" in presentations
which can be displayed as needed but won't show up automatically.
2015-11-18 22:00:35 +01:00
Mike Mellor 3e42929f90 check for 0 division, stops parallax failing if only the single horizontal slide and multiple vertical 2015-11-13 15:13:30 +00:00
Hakim El Hattab edfa131c9c tweak how speaker notes look in pdf exports 2015-10-29 16:44:47 +01:00
Hakim El Hattab 9b5e16055a hide slide number element when disabled 2015-10-29 14:29:51 +01:00
Hakim El Hattab 42babeb4ef one more slide number format 2015-10-29 12:39:51 +01:00
Hakim El Hattab 0e779edb20 slide numbers work in pdf exports, update slide number style 2015-10-29 11:59:26 +01:00
Hakim El Hattab 0198d74391 change slide number formats 2015-10-29 10:58:06 +01:00
Alex Batista ec119e79a7 UPDATED - Improvement on spaces and indentation 2015-09-29 21:09:41 -03:00
Alex Batista c1cb328e19 UPDATED - Improvement on spaces and indentation 2015-09-29 21:07:02 -03:00
Alex Batista e258db0994 UPDATED - Improvement of code. Now none flag is used, but the readyState property from video element 2015-09-29 21:01:50 -03:00
Alex Batista 92a6996754 Improvement of code. Now none flag is used, but the readyState property from video element 2015-09-29 20:49:25 -03:00
Alex Batista bcfd0aae3c bug fix - when the first section has a background-video, the vido do not execute. Now, it's work 2015-09-28 23:04:47 -03:00
Hakim El Hattab 1116d99e87 prevent swipes on speaker notes 2015-09-10 11:26:05 +02:00
Hakim El Hattab 0d37757f3f modifications to #951 2015-09-10 11:25:19 +02:00
Hakim El Hattab be7545da1a Merge branch 'feature_prevent_swipe' of https://github.com/Calyhre/reveal.js into dev 2015-09-10 11:10:08 +02:00
Hakim El Hattab 1c6990d20f fix pdf print when showNotes is disabled 2015-09-10 09:30:57 +02:00
Hakim El Hattab b0b2ce1fe3 print notes to pdf when is enabled #304 2015-09-10 08:51:04 +02:00
Hakim El Hattab 0338f280d3 add getSlideNotes API method and tests 2015-09-10 08:28:52 +02:00
Hakim El Hattab 5a40b4486f dont show notes container when printing pdf 2015-09-09 14:31:27 +02:00
Hakim El Hattab 2ad4065500 ability to share presentation with speaker notes #304 2015-09-09 14:09:37 +02:00
Hakim El Hattab 5e3bbdeecf formatting 2015-09-02 12:58:08 +02:00
Hakim El Hattab 75d38379b7 Merge pull request #1310 from teawithfruit/patch-1
solves early access error with video element
2015-09-02 11:57:37 +01:00
Hakim El Hattab de6def8cdc Merge branch 'master' of https://github.com/gruber76/reveal.js into dev 2015-09-02 12:53:53 +02:00
Hakim El Hattab b3b8738238 avoid duplicate var 2015-08-14 23:34:19 +02:00
Hakim El Hattab b9d9632531 simplify 2015-08-14 23:25:30 +02:00
Hakim El Hattab 1bf236a079 fix object.keys call on non-object 2015-08-14 23:16:59 +02:00
Dan Allen ccbc7ed6bc resolves #1324 allow display property to be configured
- allow display property apply to current slide to be configured
2015-08-07 23:04:23 -06:00
gruber76 0c2898d29f Update reveal.js
Removed toLowerCase call
2015-08-03 15:03:10 -06:00
Hakim El Hattab de3e1daab4 only use zoom to scale presentations up, fixes shifts in text layout 2015-08-03 12:24:38 +02:00
teawithfruit b7470fa323 solves early access error with video element
This will maybe solve the "InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable" error in firefox.
2015-07-21 15:59:19 +02:00
Hakim El Hattab d3b2ed9462 Merge branch 'controls-buttons-a11y' of https://github.com/marcysutton/reveal.js into dev 2015-07-07 11:33:56 +02:00
marcysutton 242f2d6c96 accessibility: controls as buttons, not divs 2015-06-05 14:02:46 -04:00
Hakim El Hattab db359519ae merge #959 with minor tweaks 2015-06-03 11:59:00 +02:00
Hakim El Hattab 5f90a449cf consider lazy loaded iframes when formatting src 2015-05-08 08:55:33 +02:00
Hakim El Hattab e16a220a62 fix iframe unload in firefox 2015-05-07 16:36:57 +02:00
Hakim El Hattab af270a909c iframe postmesssage api works with lazy loaded iframes 2015-05-07 10:09:50 +02:00
Hakim El Hattab bf6a426cf2 sync starts playing new embedded content 2015-05-06 17:30:08 +02:00
Hakim El Hattab d14727b407 type check to ensure we don't call media api before media has loaded 2015-05-06 11:28:21 +02:00
Hakim El Hattab 207b0c71ed fix lazy load selector error 2015-05-06 11:25:58 +02:00
Hakim El Hattab 3cd871eac0 typo 2015-05-04 21:08:41 -04:00
Hakim El Hattab 7dd33f188f lazy-load iframes only for current slide, unload when hidden 2015-05-04 20:58:58 -04:00
Hakim El Hattab 152271efb2 lazy loading fallback also considers iframes 2015-05-04 20:22:32 -04:00
S Anand ee98f13dd9 display .stretch images in overview mode 2015-04-02 21:04:00 +05:30
Hakim El Hattab e19931abab fix #1170 2015-03-25 15:48:14 +01:00
Hakim El Hattab 70ab0ae80b remove variable definitions #1158 2015-03-25 14:51:54 +01:00
Hakim El Hattab 2999b628cf Merge branch 'dev' of https://github.com/bchretien/reveal.js into dev 2015-03-25 14:39:24 +01:00
Hakim El Hattab 868d3b1a9f Merge branch 'patch-1' of https://github.com/borrown/reveal.js into dev 2015-03-25 14:00:26 +01:00
Alexander 41cf154a60 Update reveal.js 2015-03-19 11:49:19 +08:00
Benjamin Chrétien 25c46ccc37 Fix slide numbering for custom slide number formatting.
Numbering was off when dealing with fragments.
2015-03-08 18:15:16 +01:00
Hakim El Hattab 364a3f9845 code format 2015-03-02 12:11:05 +01:00
Hakim El Hattab fc568b5524 Merge branch 'patch-1' of https://github.com/jhofker/reveal.js into dev 2015-03-02 12:10:26 +01:00
Hakim El Hattab 53b9dbc654 code format 2015-02-25 15:52:10 +01:00
Hakim El Hattab a245a87e38 Merge pull request #1138 from denehyg/background-video-loop
background video loop
2015-02-25 15:48:48 +01:00
Hakim El Hattab f772c7eb50 fix progress bar clicks in rtl mode #1131 2015-02-25 13:31:41 +01:00
Hakim El Hattab ea735f0a2f ensure postmessage data is a string #1143 2015-02-25 13:26:53 +01:00
Hakim El Hattab 4c0a033dfa merge options for parallax step size #733 2015-02-25 12:10:00 +01:00
Jordan Hofker 76c5726c04 Check before calling blur on activeElement.
It's possible for slides to be in a situation where the last clicked thing was an SVG before the tab/window loses focus. When returning, `.blur()` is called on the previously-active element, but can result in an exception.

This protects against that and will only call `.blur()` when `document.activeElement` supports it.
2015-02-19 16:09:08 -06:00
Greg Denehy 00fa1c818d Added option to loop background videos 2015-02-19 17:04:41 +10:30
Hakim El Hattab 2ed1d6fb5d fix looped view distance calculation 2015-02-09 09:35:12 +01:00
Hakim El Hattab a4852c7cb2 prevent iframes from offsetting presentation 2015-02-03 11:56:54 +01:00
Hakim El Hattab 1c8a6e47a6 only preload last slides if presentation is looped 2015-02-02 09:14:09 +01:00
Hakim El Hattab 49f462e6ce gifs now restart when their slide container is shown 2015-01-30 10:52:28 +01:00
Hakim El Hattab 8e66876c4e fix error when exiting overview 2015-01-29 12:21:05 +01:00
Hakim El Hattab c8d7451142 comments 2015-01-29 12:03:02 +01:00
Hakim El Hattab 18e29a898a cleaner approach to applying transforms to slides container 2015-01-29 11:59:47 +01:00
Hakim El Hattab 64e72781b4 ensure overview indices are up to date if a slide moves 2015-01-28 08:33:50 +01:00
Hakim El Hattab c8569e2d9f cross browser adjustments for overview mode 2015-01-27 19:27:55 +01:00
Hakim El Hattab e29c706533 further overview refactoring 2015-01-27 09:21:49 +01:00
Hakim El Hattab 11293d7c94 refactoring and optimization of overview mode 2015-01-26 20:38:21 +01:00
Hakim El Hattab 9e14b261ea fix for #1088 when presentation is not scaled 2015-01-19 08:41:26 +01:00
Hakim El Hattab e0aba9f5ae apply z position to slide container, rather than individual slides 2015-01-17 10:33:18 +01:00
Hakim El Hattab 99d92362c8 no longer set o-transforms 2015-01-16 16:15:28 +01:00
Hakim El Hattab b71705c76f background images now work in overview mode #1088 2015-01-16 16:12:54 +01:00
Hakim El Hattab 5fb81b1b3c support for custom slide number formatting #965 2015-01-16 13:48:13 +01:00
Hakim El Hattab 817bb3bf43 use getElementByID when looking up linked slides #1086 2015-01-15 11:25:20 +01:00
Hakim El Hattab 9a89e39367 only read textContent for aria callout #1100 2015-01-14 17:01:28 +01:00
Hakim El Hattab 40f12acf2d always play background video from the start #1049 2015-01-06 12:49:52 +01:00
Hakim El Hattab 21d034bffe reveal container size determines progress bar width 2015-01-06 09:32:21 +01:00
Hakim El Hattab 0e0a4ec6e6 avoid repetition 2015-01-05 09:51:36 +01:00
Hakim El Hattab 9c3a7b49d0 (c) 2015 2015-01-05 09:40:53 +01:00
Hakim El Hattab 5bdbc2dc7b remove deprecated data-state background colors 2014-12-27 21:27:53 +01:00
Hakim El Hattab abf402d044 change transition defaults 2014-12-27 21:16:54 +01:00
Hakim El Hattab 7c03d60186 remove theme config option #1061 2014-12-18 17:45:51 +01:00
Hakim El Hattab 05403bcf16 first revision of new default theme #1018 2014-12-10 18:19:04 +01:00
Hakim El Hattab 8c76f85e34 reorder scale condition; if calculated scale is exactly 1 don't apply any scale styles 2014-11-08 09:06:17 +01:00
Hakim El Hattab 54e44ef4e2 add missing condition for recalculating scale 2014-11-06 19:19:14 +01:00
Hakim El Hattab 96b1ee9c39 ignore calculating scale if only possible outcome is 1 2014-11-05 19:28:09 +01:00
Hakim El Hattab d84233df98 default to slide transitions 2014-11-05 12:28:09 +01:00
Jaan Pullerits 82a692c394 Do not add video backgrounds to speaker notes. 2014-10-24 12:35:49 +00:00
Hakim El Hattab 16f9e95d87 update slide bg example presentation to include iframes and videos #1029 2014-10-17 08:52:38 +02:00
Hakim El Hattab fa88707382 Merge branch 'feature/background-iframe' of https://github.com/lutangar/reveal.js into dev 2014-10-17 08:43:11 +02:00
Hakim El Hattab 82342672ea fix navigatePrev in rtl mode #1030 2014-10-16 16:17:41 +02:00
Hakim El Hattab 6c7ba34edf remove styles from #1030, simplify navigatePrev 2014-10-16 15:43:29 +02:00
Hakim El Hattab 136d279361 continue auto-sliding through fragments on last slide #974 2014-10-16 13:27:58 +02:00
Ira Abramov ccdb4ff248 Fix RTL Navigation with space bar 2014-10-11 18:59:36 +03:00
lutangar 490ae90de4 add support for iframe backgrounds 2014-10-09 12:34:10 +02:00
Hakim El Hattab 03c3031cb4 cleanup classes when backgrounds are synced 2014-09-10 11:28:29 +02:00
Hakim El Hattab 0d14d87f1a rgba color parsing support, ignore brightness of transparent colors 2014-09-10 10:53:24 +02:00
Hakim El Hattab 41f20301b6 has-dark-background 2014-09-10 10:12:25 +02:00
Hakim El Hattab bc2974fef8 bubble has-light-background to .reveal container 2014-09-09 17:51:36 +02:00
Hakim El Hattab 2479883d3c is-light-background -> has-light-background, doesn't apply to background itself 2014-09-09 17:33:52 +02:00
Hakim El Hattab 9fb0c5f3d3 use computed style when calculating bg birghtness 2014-09-09 17:18:15 +02:00
Hakim El Hattab 20e72df4bf add is-background-light class to slides/backgrounds that are > 128 brightness 2014-09-09 16:50:23 +02:00
Hakim El Hattab 8a50a46665 util methods for calculating color brightness 2014-09-09 16:14:24 +02:00
Hakim El Hattab cbef64b860 fix current fragment index check when multiple fragments have same index 2014-09-06 08:20:38 +02:00
Hakim El Hattab 2cd988a7a3 fix previewLinks target 2014-09-04 18:00:21 +02:00
Hakim El Hattab 80c375fae8 the paused mode can now be disabled via the 'pause' config option 2014-08-12 16:01:27 +02:00
Hakim El Hattab 57844ad827 listen for touch + click on all devices except android 2014-07-06 14:31:10 +02:00
Hakim El Hattab 213c8d1354 fix double-navigation on touch for some android systems 2014-06-28 12:58:33 +02:00
David Banham a078c87f10 Listen to custom mapped togglePause keys
This resolves issue #941
2014-06-25 23:22:13 +10:00
Hakim El Hattab 7e8fd09376 fix npe 2014-06-25 13:56:24 +02:00
Hakim El Hattab ef333300a2 prevent additional inaccurate showSlide calls 2014-06-25 11:50:45 +02:00
Hakim El Hattab 8cb8229aac prevent incorrect showSlide calls at startup 2014-06-25 11:44:10 +02:00
Hakim El Hattab c6b9da7000 more specific targeting for pdf printing hack 2014-06-18 18:42:45 +02:00
Calyhre ed8d90bc58 Fix tests 2014-06-18 14:23:42 +02:00
Calyhre 4e70cf8126 Add ability to prevent swipe for specific elements 2014-06-18 14:18:41 +02:00
Hakim El Hattab e4761d3a37 only allow text in aria status div 2014-06-18 10:50:00 +02:00
Hakim El Hattab ebfb496743 config option for disabling the help overlay 2014-06-16 18:46:38 +02:00
Hakim El Hattab 2e0fe815a6 fix append to existing embed query 2014-06-12 18:27:52 +02:00
Hakim El Hattab a7a32f941c vimeo support for autoplay/pause 2014-06-12 18:20:15 +02:00
Hakim El Hattab af61d9d10b rewrite youtube iframe embeds to force ?enablejsapi=1 (fixes #856) 2014-06-12 18:15:32 +02:00
Hakim El Hattab f5ac0b35d1 toggle instead of always showing the help overlay when ? is pressed 2014-06-09 18:24:47 +02:00
Hakim El Hattab 645734832d adjust list of displayed key shortcuts #943 2014-06-09 17:53:14 +02:00
Hakim El Hattab 9ff00a72ae merge and tweak key shortcuts overlay #943 2014-06-09 17:35:46 +02:00
Hakim El Hattab d539c645c3 Merge branch 'keyboard_shortcuts_overlay' of https://github.com/navateja/reveal.js into dev 2014-06-09 12:21:01 +02:00
Hakim El Hattab 0a58df8390 don't trim aria status 2014-06-09 11:36:28 +02:00
Hakim El Hattab 943b6ef37e merge and tweak screen reader support #854 2014-06-09 11:20:46 +02:00
navateja 594d9f6d85 Merge remote-tracking branch 'upstream/dev' into keyboard_shortcuts_overlay 2014-06-09 14:44:36 +05:30
navateja ab7efe6bf2 creates a new branch for the feature 2014-06-09 14:35:59 +05:30
nava teja 75a53da9e5 Shows keyboard shorcuts overlay on pressing question mark 2014-06-08 00:59:29 +05:30
Hakim El Hattab 8973f0c3e1 typo #938 2014-06-05 10:59:30 +02:00
Hakim El Hattab c5daba6a1f write current hash when history is toggled on #934 2014-06-05 10:43:25 +02:00
Hakim El Hattab 6d1a66c2bc fix search & replace error 2014-05-30 08:12:57 +02:00
Hakim El Hattab 9c96a56e33 adjust check for focused text inputs 2014-05-29 10:36:56 +02:00
Hakim El Hattab 09bddce427 limit scope of all slide selectors, avoids multiple .reveal classes on one page causing errors 2014-05-24 15:23:03 +02:00
Hakim El Hattab ba00afbc38 only use zoom to scale in chrome 2014-05-21 10:08:23 +02:00
Hakim El Hattab c1ea5282e1 fix data-autoplay on first slide 2014-05-20 08:53:25 +02:00
Hakim El Hattab 8c9c0ab0a6 validate named links according to html id spec #914 2014-05-20 08:14:55 +02:00
Hakim El Hattab c974756326 relax keyboard blocking condition #899 2014-05-17 16:00:40 +02:00
Hakim El Hattab b9d25057d6 Merge branch 'fix-isFirstSlide' of https://github.com/fabianorosas/reveal.js into dev 2014-05-14 08:50:28 +02:00
Hakim El Hattab 54c3c23e36 fix bug in retrieval or background images while in pdf mode 2014-05-10 11:18:13 +02:00
fabiano ffecac6df3 == --> === 2014-05-09 16:11:04 -03:00
fabiano cb4fe35bac fixed a problem in the function isFirstSlide
when visiting a vertical slide and then going back to the first slide, the function would return false.
made it more fail proof by checking the indices directly.
2014-05-09 15:58:56 -03:00
Hakim El Hattab c4e202cd0f fix edge case in singleton node creation 2014-05-07 22:02:05 +02:00
Hakim El Hattab f31f0ffa70 createSingletonNode now ensures found nodes are in the correct container 2014-05-07 21:47:47 +02:00
Hakim El Hattab 5e85f02eb1 ensure default can be prevented 2014-05-04 09:32:10 +02:00
Hakim El Hattab 54e256764c limit size of media elements when printing to pdf 2014-05-04 08:29:45 +02:00
Hakim El Hattab 1b236bdf21 wait for document to load before triggering pdf layout 2014-04-29 13:40:55 +02:00
Hakim El Hattab 2ac0a55ccf ensure pdf pages are never zero-height 2014-04-29 13:30:56 +02:00
Hakim El Hattab eec14b9c92 pdf background size rounding error 2014-04-29 10:47:05 +02:00
Hakim El Hattab fbf999ec81 null check background 2014-04-28 12:31:34 +02:00
Hakim El Hattab 9873839a50 fix issue with background images on first vertical sldie 2014-04-28 11:51:21 +02:00
Hakim El Hattab 9f0224adf9 update visibility of slides as part of sync 2014-04-28 10:59:31 +02:00
Hakim El Hattab 02725cf728 prefer scaling over zooming on mobile devices 2014-04-28 10:41:31 +02:00
Hakim El Hattab fcec8d058d fix lazy loading bug related to data-background-image attribute 2014-04-28 09:58:13 +02:00
Hakim El Hattab fa2413ec73 fix slide transitions in iOS 2014-04-28 09:45:02 +02:00
Hakim El Hattab b42fae96e5 load all images directly when in 'no-transform'-mode 2014-04-28 09:13:57 +02:00
Hakim El Hattab 6aaff6395a merge umd wrapping 2014-04-27 20:38:20 +02:00
Hakim El Hattab 860580d4d0 getSlideBackground now works in pdf mode, add pdf tests 2014-04-27 17:31:50 +02:00
Hakim El Hattab 41e1e013b8 better defered loading of background media 2014-04-27 15:55:57 +02:00
Hakim El Hattab 7158c12eff lazy load all slide backgrounds 2014-04-27 15:39:11 +02:00
Hakim El Hattab c58096ea99 disregard v index when there is no vertical slides/backgrounds in getSlide/getSlideBackground 2014-04-27 15:04:37 +02:00
Hakim El Hattab 902e36c022 break showing/hiding of slides into separate methods 2014-04-27 14:54:23 +02:00
Hakim El Hattab eea437f4be new api method: getBackgroundSlide 2014-04-27 14:47:02 +02:00
Hakim El Hattab ddfb0aa86f abide by configured width/height when printing to pdf 2014-04-26 21:42:16 +02:00
Hakim El Hattab e7d82f1316 fix transitions in firefox 2014-04-26 20:23:40 +02:00
Hakim El Hattab ae962d729b fix non-pdf printing (closes #881) 2014-04-26 19:16:10 +02:00
Hakim El Hattab b019604531 Merge branch 'feature/print' into dev 2014-04-26 18:21:39 +02:00