Changes

Jump to navigation Jump to search
1,499 bytes added ,  19:11, 29 February 2020
no edit summary
Line 136: Line 136:     
Get the "Publish to Web" key for this Google Sheet via "File" -> "Publish to the Web" -> "Publish" button. This key (which is NOT the same as the shared link for editing) will be used by the website php script to get access to the sheet contents.
 
Get the "Publish to Web" key for this Google Sheet via "File" -> "Publish to the Web" -> "Publish" button. This key (which is NOT the same as the shared link for editing) will be used by the website php script to get access to the sheet contents.
 +
 +
==YouTube Video on the Kiosk==
 +
 +
Google Slides makes it pretty easy to embed a YouTube video in a slide. Some tips to get them working on the kiosk:
 +
 +
 +
1. Get the URL of the youtube video you want to display, eg. [https://www.youtube.com/watch?v=B6suC_pPfqg https://www.youtube.com/watch?v=B6suC_pPfqg] . (NB: The "watch?v=" seems to be critical).
 +
 +
2. If you want closed captions /subtitles on the kiosk (because you probably won't want sound playing in the hallway), the captions HAVE TO BE EMBEDDED in the video: there does NOT appear to be way to have the youtube captions/subtitles displayed in the video embedded in a Google Slide without user interaction.
 +
 +
2. In Google Slides, set the Video Format -> Video playback -> check "Autoplay", so that the video plays automatically when the slide presentation starts (not sure if "Mute" needs to be checked)
 +
 +
3. On the Raspberry PI, you need to run the desktop version of Chrome to Preferences (chrome://settings) to Advanced -> Privacy and Security -> Site Settings -> Sound -> Allow -> Add -> add your kiosk site (eg. https://www.bio.fsu.edu/grad/kiosk), to whitelist your site so that videos will autoplay.
 +
 +
IMPORTANT: as far as we can tell, there is NO way to use the command line to set Chrome to autoplay a video inside a Google Slides inside an iframe, which is how the kiosk displays the slides. That means that the kiosk.sh script can't set this up for you, you have to use the desktop version of Chrome "in the real" to make the setting.
 +
 +
    
==Kiosk Webpage==
 
==Kiosk Webpage==

Navigation menu