Online BrightScript REPL
If you need to fiddle with BrightScript code, this REPL is the perfect solution. https://brsfiddle.net/ Desktop Simulators for BrightScript can be found here: https://github.com/lvcabral/brs-desktop/releases
Search for a command to run...
Series
BrightAuthor plugin development with BrightScript, the scripting programming language for the BrightSign player.
If you need to fiddle with BrightScript code, this REPL is the perfect solution. https://brsfiddle.net/ Desktop Simulators for BrightScript can be found here: https://github.com/lvcabral/brs-desktop/releases
Not the prettiest code but if you must use anonymous function as a function argument in BrightScript you can. This would be the equivalent to JavaScript Arrow Function. ' This function applies a passed function to an argument ' apply = function ( a,...
Implement promise in BrightScript ' methods 'promise_resolve 'promise_reject 'promise_All ' Fulfills when all of the promises fulfill; rejects when any of the promises rejects. 'promise_AllSettled ' Fulfills when all promises settle. 'promise_race ' ...
How to change the User Agent String on the BrightSign player’s browser.
This example shows how to play a video loop and send out UDP message at the end of the video. ' This sample code loops a video and send out a UDP message at the end of the video. ' Created by BrightScripters ' Usage ' Place this script at the root ...
' JSON Beautifier for BrightScript ' By BrightScripters function json_beautify(in$) as string indentLevel = 0 out$ = "" newLine$ = chr(13) + chr(10) for i = 0 to in$.len() - 1 char$ = in$.mid(i,1) if char$ = "{" or ...