Black Friday: DSLR Remote Pro $299, Breeze Booth $399 a year, 20% off more

See the deals
Breeze Help Center

HTML/Javacript Widgets

Updated 16 Nov 2026
On this page

Controlling Remote Pro with Javascript#

Using Widgets, you can embed HTML in Remote Pro, and control it using Javascript. Remote Pro creates a connection between the HTML page and the photo booth using a JavaScript object called window.bb.

This means the HTML author does not need to build a separate integration layer. The page can read values from Remote Pro, save new values back to Remote Pro, and trigger normal touchscreen actions.

For the full developer reference (API, token rules, action names, panel behaviour and troubleshooting), see How Widgets Work. You can also download the Instructions File.


What HTML/Javascript Can Do#

There are three main things an HTML page can do inside Remote Pro:

Read data from Remote Pro
Access substitution tokens such as {eventName}, {user_data}, QR data, survey values, and other session information through window.bb.tokens.

Send data back to Remote Pro
Use setToken() to create new tokens that can be used later in the session.

Control the photo booth
Use runAction() to trigger normal touchscreen actions such as Start photobooth, change modes, accept or retake an image, switch screens, or close the Web View Panel.


Saving Data as Tokens#

The Web View Panel uses a Token ID to namespace any data created by the HTML page.

For example, if the Web View Panel has a Token ID of soccer, saving a value called score creates this Remote Pro token:

{soccer_score}

That token can then be used in normal Remote Pro substitutions, including:

  • Print layouts
  • Filenames
  • Emails
  • SMS messages
  • Overlays
  • Sharing URLs
  • Other session outputs

Typical Workflow#

A typical HTML workflow might look like this:

  • Guest interacts with the HTML page.
  • The HTML collects or calculates a result.
  • The HTML saves the result as Remote Pro tokens.
  • The HTML starts the photo booth.
  • Remote Pro uses those token values later in the session.

Example: Basketball Game#

For example, you could build a basketball game in HTML.

The guest enters their name, takes five shots, and receives a score. The HTML page could save values such as:

{game_name}
{game_score}
{game_accuracy}

The page could then trigger this touchscreen action:

Start photobooth

Remote Pro could then use those values on a trading-card print, include them in the filename, send them to a gallery, or include them in an email.


Web View Panel#

The HTML page is displayed using Remote Pro's Web View Panel, which uses Microsoft Edge WebView2.

In the Web View Panel settings, you can configure:

Where it appears – Choose which booth screens show the Web View Panel.
HTML source – Enter a URL or select a local HTML file.
Token ID – Set the namespace used for any data created by the page.


JavaScript State#

When the Web View Panel is hidden during screen changes, the HTML page remains alive.

This means its JavaScript state is preserved. A game, quiz, or survey does not automatically reset just because Remote Pro moves from the Ready screen to another booth screen.

If you need the HTML page to reset between sessions, add reset logic to the HTML or trigger it from your workflow.


Common Uses#

HTML integration can be used to create custom interactive experiences such as:

  • Games
  • Surveys
  • Quizzes
  • Branded interfaces
  • Product selectors
  • Data capture screens
  • Interactive lead capture forms
  • Sponsor activations

Summary#

The overall concept is simple: HTML becomes a custom interactive front end for Remote Pro.

You can use HTML, CSS, and JavaScript to create the guest experience, while Remote Pro handles the photo booth workflow, camera control, printing, sharing, and token substitution.