Hi,
I am trying to load a simple browser page but I am getting a blank white screen on the player.
Regards,
Shabeer
Hi,
I am trying to load a simple browser page but I am getting a blank white screen on the player.
Regards,
Shabeer
Start with a connectivity check, ensure your Brightsign can make requests to the Internet. Log into your Brightsign's Diagnostic Web Server and use the network tests on the Diagnostics tab.
If all looks good, check the system Log on the second tab. Scroll to the bottom and work your way up. Look for anything that says "ERROR" or has the words HTTP or an HTTP response code (such as 404, 500, etc. ) in it.
Ken
Hi Ken,
Thanks for your response. I tested the same url with XT1144 and it was displaying. I am finding issue with HD225. I belive that same webpage can work in both the players. Is there anything else that needs to be checked on the the url or player?
Regards,
Shabeer
If your project is working on your XT1144 and not your HD225, then it's likely that either your HD225's networking settings are misconfigured or there's a bug in the BrightsignOS version you're running.
Have you run the Network Diagnostics from the DWS on your HD225?
Normally in a situation with an ill behaving roHtmlWidget object, I'll check that I can display a web site or page internal to my network using it's private IP address (to rule out DNS, gateway/routing and WAN connectivity issues). The admin login page on a home gateway is handy for this, as are home NAS boxes. If you're in an Enterprise environment, you should have plenty of internal resources to make a request to.
If that works, and all your network settings look correct, and you still can't load an externally hosted web site... do a factory reset on the Brightsign. This is common wisdom around the forum, to clean out all the old settings from the Brightsign's registry when testing a new project. As if to make the point, I was -just- trying out the roHTMLWidget using old known-good code. I could show internal site but not external. All my IP settings were double checked. I did a factory reset, and when the device rebooted it was working with an external site. Go figure.
Cheers,
Ken
Hi Ken,
Network settings are not misconfigured. I don’t know if there is a bug on Brightsign OS version as I upgraded to latest version available.
This website doesn’t require internet as it’s an internal website. I couldn’t do Network Diagnostics as I have disconnected it from network and hence need to go to site to check it.
Regards,
Shabeer
So you’re trying to request a page from a web server on your LAN? Are the Brightsign and the web server on the same subnet?
There are ping and traceroute commands on the DWS diagnostics page. Can you use them to verify connectivity to your web server using it's IP address, not it's hostname? Assuming it’s doesn’t have it’s own firewall and is permitting ICMP.
Ken
Here is a bare-minimum implementation in pure Brrightscript to request and display a web page on the attached display device.
Copy and paste the code below into a text editor (preferably something like a programmer's file editor, not MS Word or the like), add your server's IP address between the double quotes on the line that starts with URL, save it as autorun.brs (no formatting or markup, double check that it's plain text), copy it onto your Brightsign's card and reboot the player.
If this doesn’t work for you, and you’ve checked connectivity using ping in the DWS Diagnostic tab, the only thing I can suggest is to perform a Factory Reset and go through the test and try the script again. Failing that, contact Brightsign support directly.
Best of luck!
Ken
Sub Main()
URL = ""
DISPLAY_MODE = "auto"
videoMode = CreateObject("roVideoMode")
videoMode.SetMode(DISPLAY_MODE)
screenWidth = videoMode.GetResX()
screenHeight = videoMode.GetResY()
htmlRectangle = CreateObject("roRectangle", 0, 0, screenWidth, screenHeight)
config = {
url: URL,
mouse_enabled: false
}
html = CreateObject("roHtmlWidget", htmlRectangle, config)
html.FlushCachedResources()
html.Show()
while true
sleep(1000)
end while
End Sub
Can't find what you're looking for?
Contact support