Hello,
I'm looking for method or package what can help me to change orientation of BrightSign device (LS424 for example) using Javascript.
additional information: i use autorun.brs what create just alone roHtmlWidget and load local file.
Sub Main()
url$ = "file:///app/index.html"
rect = CreateObject("roRectangle", 0, 0, 1920, 1080)
config = {
nodejs_enabled: true,
brightsign_js_objects_enabled: true,
javascript_enabled: true,
url: url$,
hwz_default: hwz$
}
html = CreateObject("roHtmlWidget", rect, config)
html.AllowJavaScriptUrls({ all: "*" })
html.Show()
End Sub
I tried change this file using nodejs (readFile/writeFile) but file is not re-writed and after reboot file at same state as was before changing.