Getting Started...

1.  Download the JS Decoder

Download the Intrasonics JS Decoder demo and unpack the ZIP file to a directory on your computer.

2.  Start up a server

In your terminal/console, navigate to the directory where you unpacked the JS Decoder demo, using the cd command
cd ~/Downloads/js_decoder

Type the following to start a local HTTP server and run the demo:
python -m http.server 8888

Note: If you are a Windows (or MacOS 12.3+) user, you'll need to follow the instructions on the Python homepage to install.

3.  Test in a browser

Open the demo in a compatible browser:
http://localhost:8888/demo.html

In a new browser tab, or on a different device with loudspeakers, play a video from the sample encoded media page.

If you've followed the steps above you will see codewords displayed in alert dialogs in your browser as the JS Decoder detects them.

To learn how to integrate the JS Decoder with your own website please read the Integrating JS Decoder page.

For more information about the code used in the demo, please refer to the Javascript API documentation.