Welcome to the examples directory! This guide will help you get started with the provided examples. Each example is independent and can be used based on your specific needs.
A basic HTML setup to help you understand web development on BrightSign players.
- Location:
examples/html-starter-example
- Features: Basic HTML setup, static file serving
Examples showing how to work with video playback in HTML:
- Designed for Player with a Single Video Decoder:
examples/html-single-video-decoder-example
- Designed for Player with a Dual Video Decoder Player:
examples/html-dual-video-decoder-example
A minimal Node.js HTTP server example running on a BrightSign player.
- Location:
examples/node-starter-example
- Features: Basic HTTP server setup, request handling
A more detailed Node.js server example with device info API and testing setup.
- Location:
examples/node-simple-server-example
- Features: Device info API, Jest testing setup, webpack configuration, automated deployment scripts
Example showing how to communicate between BrightScript and JavaScript.
- Location:
examples/send-plugin-message
- Features: Plugin message transfer, BrightScript-JavaScript communication
After exploring these examples, you can:
- Combine concepts from different examples to build more complex applications
- Add testing to your applications following the node-simple-server example
- Implement plugin message communication for advanced BrightScript integration