This repository contains:
-
Sample Applets code for every simple method documented in signageOS Documentation.
-
Sample SMIL files for signageOS SMIL Player
-
Benchmark test Applets for signageOS SoC and Media Player Benchmarking
Note:
Applets are written in es2017 JavaScript notation. It's supported language for every supported device.
List of available sample Applets:
- Getting Started basic API usage
- Restore display area (videos, streams etc.)
Content-related examples
- Browser on touch devices
- Capabilities - Content to check what is supported on the device
- Clock
- Command
- Commands Sending for monitoring
- Commands Receiving for monitoring
- CORS
- File System API for full featured FS manipulation
- Fonts
- Hardware LED for color control (some Philips)
- HDMI and DisplayPort Streams
- Iframes propagation of sos API
- Iframes Nested propagation of sos API
- Image and Video Thumbnail
- Key Press Events
- MD5 checksum for offline stored files
- Network settings via DHCP
- Network settings via manual IP
- Offline Files for managing files
- Offline Resources for saving & using libraries
- Offline ZIP Decompression for unpacking
*.zip
files - Proximity Sensor
- Remote control key UP binding for bind pressing keys on remote control
- Save and Load Large JSON file from the internal memory
- Sensors by Nexmosphere and how to use them in the JS
- Serial Port management and operations
- Streams like UDP, RT(S)P, HLT
- Sync Mixed Content for playing a list of videos and images in sync on multiple devices
- Timing Triggers pause & resume
- Video & Images loop together
- Video, Images and HTML loop together
- Video file details like resolution, framerate and codec
- Video single file loop infinite loop
- Video playback from internal memory loop
- Videos - multiple at once at same time
- Video Sync for playing a list of videos in sync on multiple devices
- Videowall on 2 screens for playing a videowall horizontally across 2 screens
- Videowall on 4 screens for playing a videowall across 4 screens
Device management examples
- App restart
- App upgrade for updating Core App on device
- Basic information like device model, serial number and temperature
- Battery
- Brightness
- Capabilities - Management to check what is supported on the device
- Debug for enabling device debugger and console log access
- Display On/Off
- Firmware upgrade
- JS Management Getters all in one
- JS Management Setters all in one
- Network Information
- Package Install for Android and Linux packages
- Remote Control IR Lock
- Resize for changing display resolution and orientation
- Screenshot upload to remote server
- Security PIN setup
- System Reboot
- Time and timezone
- Timer for turning display On/Off based on time and day in a week
- Volume level settings
- Wi-Fi Access Point for setting up RPi via smartphone/PC