diff --git a/index.html b/index.html index f110bfb..d0f366e 100644 --- a/index.html +++ b/index.html @@ -862,9 +862,10 @@ if (typeof query['dependencies'] !== 'undefined') delete query['dependencies']; return query; - } var presenter = !!getQueryHash().s; + var stream = !!getQueryHash().stream; + // More info about initialization & config: // - https://revealjs.com/initialization/ // - https://revealjs.com/config/ @@ -879,19 +880,19 @@ Reveal.initialize({ hash: true, - controls: presenter ? false : true, + controls: presenter ? false : (stream ? false : true), progress: true, history: true, center: true, - controlsTutorial: presenter ? false : true, + controlsTutorial: presenter ? false : (stream ? false : true), - slideNumber: presenter ? null : 'c/t', + slideNumber: presenter ? null : (stream ? null : 'c/t'), // The "normal" size of the presentation, aspect ratio will be preserved // when the presentation is scaled to fit different resolutions. Can be // specified using percentage units. - width: 1920, - height: 1080, + width: 1280, + height: 800, // Factor of the display size that should remain empty around the content margin: 0.1,