# HTML5 Presentations

### Problem
I would like to project and present an HTML5 presentation (such as a [shower](https://shwr.me) or an [rmdshower](https://github.com/MangoTheCat/rmdshower)) fullscreen within a browser.  Even if I set the browser to be fullscreen, I still have the address bar and tab bar to contend with.  These can be turned off via the menus of the browser but it is a pain to do so.

### Solution
Instead of opening a local HTML5 presentation via double-click (or `open` command), open the presentation in `app` mode.  Below is a super simple shell script I use to open an HTML5 presentation from the command line in a fullscreen.

```bash
#!/usr/bin/env bash

set -e

PREZ="${1}"

# n = non-zero length string
if [ -n "${PREZ}" ]; then
   /Applications/Vivaldi.app/Contents/MacOS/Vivaldi --app=file://${PREZ}
else
	echo -e "\nUsage:"
	echo -e "  $(basename $0) presentation.html\n"
fi
```

# HTML5 Presentations

### Problem
I would like to project and present an HTML5 presentation (such as a [shower](https://shwr.me) or an [rmdshower](https://github.com/MangoTheCat/rmdshower)) fullscreen within a browser.  Even if I set the browser to be fullscreen, I still have the address bar and tab bar to contend with.  These can be turned off within the browser but I can never recall how to do so.

### Solution
Instead of opening a local HTML5 presentation via double-click (or `open` command), open the presentation in `app` mode.  Below is a super simple shell script I use to open an HTML5 presentation from the command line in a fullscreen.

```bash
#!/usr/bin/env bash

set -e

PREZ="${1}"

# n = non-zero length string
if [ -n "${PREZ}" ]; then
   /Applications/Vivaldi.app/Contents/MacOS/Vivaldi --app=file://${PREZ}
else
	echo -e "\nUsage:"
	echo -e "  $(basename $0) presentation.html\n"
fi
```

Clarify prose of HTML5 Presentations
Clarify prose of HTML5 Presentations
