Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support url parameter to turn autoplay on/off #720

Closed
henrikingo opened this issue Feb 20, 2019 · 0 comments · Fixed by #764
Closed

Support url parameter to turn autoplay on/off #720

henrikingo opened this issue Feb 20, 2019 · 0 comments · Fixed by #764

Comments

@henrikingo
Copy link
Member

Currently the autoplay plugin looks for the data-autoplay attribute on the root element and steps to determine if autoplay should be on.

It would be useful to add a run-time configurability option into the URL, so that I can create links to a presentation that will then start, or not, to autoplay depending on the URL value.

Example: http://example.com/presentation.html?impress-autoplay=5#/step-1

(The above may not work for local files, but that's ok if true. I'd rather not append to the hash part, as it would introduce much new complexity.)

mrf345 added a commit to mrf345/impress.js that referenced this issue Mar 26, 2020
mrf345 added a commit to mrf345/impress.js that referenced this issue Mar 26, 2020
mrf345 added a commit to mrf345/impress.js that referenced this issue Apr 1, 2020
mrf345 added a commit to mrf345/impress.js that referenced this issue Apr 1, 2020
henrikingo pushed a commit that referenced this issue Apr 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant