HTML Sites
Â
Important
If you want to use the application cache for HTML5 sites in BrightAuthor (which allows the player to cache remote HTML content on the local storage), you will need to enable the Limit storage space by function option in Edit > Preferences > Storage. HTML5 sites must be configured properly for caching to work.
Use this tab to add HTML5 sites to your presentation. You must add sites in this tab before you can include HTML5 states in the playlist.
Adding an HTML Site
To add an HTML5 site, click Add HTML Site and specify the following:
HTML site name: Enter a name for the HTML5 site.
Local Content: Select this option to display HTML5 content using files located on the local storage of your computer. Click the Browse button to locate the .html file that you wish to display.
URL: Select this option if you wish to play an HTML5 page from a web address.
Query string (optional): Enter a query string to be appended to the site URL using the following format: "http://www.example.com/over/there?my_query_string".Â
Tip
The URL and Query string fields accept User Variable values. To specify a User Variable, enter the name of the variable between two sets of dollar signs. The variable value can be either standalone ("$$my_variable$$") or part of a static value ("http://www.brightsign.biz/$$my_variable$$").Â
Settings
Enable Javascript console: Check this box to enable the Chromium Web Inspector for HTML sites in the presentation. Note that as of BOS 8.5.31 you will need to also set the enable_web_inspector registry key (in the "html" section) to enable the JavaScript console. See the "inspector_server" in roHtmlWidget for more information.
Important
For security reasons, Enable javascript console should only be used in non-production presentations. Make sure to disable JavaScript console before publishing to a production environment. In the Chromium version found in BOS 8.5 and beyond, the JavaScript console will log information in memory even when you are not connected to the inspector. This will consume memory until the player runs out, which will result in a crash.