Do the XD1230s support Node/Javascript API? I have been unable to publish a autorun.brs that loads an htmlwidget with the following:
Do the XD1230s support Node/Javascript API? I have been unable to publish a autorun.brs that loads an htmlwidget with the following:
Please forgive me if that is a silly question, but Is that all of the autorun code?
The two variables width, and height are not defined, but are used in the roRectangle creation
rect=CreateObject("roRectangle", 0, 0, width, height)
Yes, it is. I should note that height and width are defined as:
The firmware version on the players is important.
What are the firmware versions that you have on the xd1230s?
GetGlobalAA() might not be available on the firmware version you are working with.
The firmware version is 6.1.76. I have not found anything newer.
Regardless of whether GlobalAA is available or not, you can create your own roVideoMode object, and get width and height from it.
https://docs.brightsign.biz/display/DOC/roVideoMode#roVideoMode-GetOutputResX()AsInteger
VideoMode = CreateObject("roVideoMode")
width = VideoMode.GetOutputResX()
height = VideoMode.GetOutputResY()
If you are not using the debugger through serial port or ssh, I highly recommend doing so.
It removes a lot of the guess-work, and replaces it with information that can be used to complete a task.
Can't find what you're looking for?
Contact support