BrightPlates

Create BrightPlates Templates

10min
this page outlines how to create and upload html templates for brightplates these are advanced instructions intended for content developers adobe photoshop is used as the example content creation application, but other applications such as gimp have similar functionality download this file https //brightsignbiz s3 amazonaws com/brightplates/creating%20templates%20for%20brightplates zip for examples of functional brightplates templates generate an html template use photoshop to open the content you wish to convert to a brightplates template ensure the dimensions of the workspace is either 1920x1080 (landscape) or 1080x1920 (portrait) enable the guides feature to create a zone for each dynamic area of the template this includes dynamic feed areas and editable images use the slice tool, along with the "snap to" feature, to create a slice for each zone the slices will be named automatically using a number and the file name; however, the html editing steps (described below) will be easier if you give each slice a unique name according to its function (e g "weekly specials graphic", "menu item feed 1") navigate to file > save for web and devices select all of the slices (i e zones) that you want to be part of the template areas that are not selected will automatically be included in the background image of the template select edit output settings… to open the output settings window with html selected from the dropdown list, select output xhtml then click next under slice output , select the generate css option click ok to close the output settings window, then click save to generate the html template edit the html for brightplates open the generated html file using an html editing application (e g dreamweaver) if you don't have such an application, use a plain text editor (e g notepad, textedit) edit the body element in the css section to include a desired font family photoshop will not include fonts from the saved template by default create a css id named #template and include the properties and values as shown in the screenshot below ensure the following the position is absolute the width and height properties are 100% the background image property matches the name of the background image saved as part of the page files by photoshop navigate to the \<body> portion of the html notice that the html body consists of a number of \<div> templates that correspond to the slices created in photoshop (optional) if you want the background image of the template to be customizable in brightplates, you will need to add the following to the \<body> tag data template background="background jpg" in the \<div> tags that correspond to editable images, enter data block type="image" in the tag in the \<div> tags that correspond to editable videos, enter data block type="video" in the tag in the \<div> tags that correspond to dynamic data, enter data block type="mrss" in the tag because brightplates always uses live media feeds, you will need to specify the block type as "mrss" even if the feed only contains text for each item in a dynamic data \<div> , do the following create a \<div> tag for the item formatted as follows the other \<div> elements created in steps 2 5 will be placed within the boundaries of the \<div> element \<div data block item="mrss">\</div> if the item contains an image, create a \<div> tag formatted as follows \<div data item media="image" class="itemimage" /> create a \<div> tag for the title formatted as follows \<div data item type="title" class="itemtitle" /> create a \<div> tag for the description formatted as follows \<div data item type="description" class="itemdescription" /> below the \<div> tag for the description, you can add any number of custom data fields by adding additional \<div> tags the data item type of the \<div> should equal the name of the custom field in the bsn live media feed (created using the add custom field button in the webui) for example, a custom field named "caloriecount" in the live media feed would correspond to the following \<div data item type="caloriecount" class="itemcaloriecount" /> video via mrss is not supported in brightplates templates we strongly recommend stating the maximum character limit for item titles, item descriptions, and custom data fields in the default text this will help the end user create dynamic text that does not get cut off when it is displayed in the template build templates for hd / ls players hdx24, ls424, hdx23, ls423, and hdx22 players support brightplates presentations, but these models have a single video decoder (rather than the two video decoders offered by the xd, xt, and 4k models) this leads to several limitations that you need to consider when creating a brightplates template the template can either have one video \<div> tag or a set of mrss \<div> tags by default, a video decoder is used to display the background image (this ensures it is always placed behind other content); however, on single decoder models, there will be no decoders left to display mrss content to work around this limitation, you will need to do the following add the background color\ transparent property to the \<div> tag for the playlist/mrss block ensure the background image is a png with an alpha channel for transparency, and add a transparent window that is the same size and location of the playlist/mrss block example playlist \<div id="playlist" style="position\ absolute; left 400px; top 100px; width 500px; height 800px; background color\ transparent; z index=0 " data block type="dynamic playlist"> portrait templates if you've created a portrait template for brightplates (e g 1080x1920, 720x1280), you will need to include the background image as a landscape image brightplates will automatically rotate the background image after it's uploaded locate the background image in your template open it with an image editing application (e g photoshop) rotate the image 90 degrees counterclockwise save the image preview images for the template can remain in portrait orientation html best practices for templates please note the following when creating and testing brightplates templates the brightplates template uploader does not perform error checking on the html/css code test your template thoroughly before uploading it we recommend creating templates that contain fewer than 100 files if the template contains close to 100 files, the average file size should not exceed 650 700 kb the template upload process may fail if these limits are exceeded each browser treats fonts slightly differently we recommend testing your template on a brightsign player (rather than just the browser on your computer) to ensure that text is not truncated or misaligned we recommend using absolute positioning—with percentages—for all elements we recommend using inline css styling avoid nested \<div> elements whenever possible upload the html template take a screenshot of the html page in your html authoring application or web browser save it as "preview\ jpg" in the same folder as the html page place the html page, background image, preview image, and any other related content into a zip folder navigate to http //www brightplates biz/ http //www brightplates biz/ log in to your brightplates account click manage templates in the top right of the page click upload new template this will open the upload template window click browse to locate and select your zip file enter the name of the html template file in the template filename field (e g index html ) select the category (i e vertical) to which the template belongs specify the orientation of the template enter a title for the template the title will be visible in the templates browser in the brightplates ui enter a description for the template the description will be visible when the template is selected in the templates browser uncheck the enable jquery box if you are new to creating brightplates templates this option enables advanced data parsing and server interaction click upload to upload the template to brightplates it will be visible in the templates browser momentarily