Hi, I'm trying to display a basic HTML page on the BrightSign.
I have the following autorun.brs:
sub main()
r=CreateObject("roRectangle", 0,0,1920,1080)
is = {
port: 3000
}
config = {
nodejs_enabled: true
inspector_server: is
brightsign_js_objects_enabled: true
url: "file:///sd:/index.html"
}
h=CreateObject("roHtmlWidget", r, config)
h.Show()
msgPort = createobject("roMessagePort")
h.setPort(msgPort)
while true
msg = Wait(0, msgPort)
end while
end sub
And an index.html:
<html>
<body>
<h1>
Test
</h1>
</body>
</html>
These files are both in the root of an SD card in the BrightSign.
The BrightSign is:
Model: XT1144
Boot Version: 7.1.42
BrightSign OS Version: 8.5.33
When I power on the BrightSign all I get is a black screen. However the log file does say this:
BSPLAY: file:///sd:/index.html
Am I missing a step somewhere?
Any help appreciated.