iframe-based kiosk that uses JavaScript to continuously rotate through a list of webpages. Includes jQuery countdown timer until next webpage.
To see a running example, check out https://jelchison.github.io/iframe-kiosk/
Your own custom webpages can be used, instead of the Cincinnati-centric webpages provided. Be sure to keep delaySec
in sync with urls
.
Beware the standard pitfall: Browsers may reject mixed content. If you're serving index.html via HTTPS, browsers may not want to load HTTP webpages in the iframe.
Some websites detect iframes and break out of them. There's no easy way around it, except to avoid using those websites in your rotation.
A minified version of http://keith-wood.name/countdown.html is included (MIT license).
If running this kiosk continuously, be aware that you'll be making a ton of requests to the websites in your rotation. Be aware of the usage policies on the sites in your rotation. Use at your own risk.