Conditional Play Overview: Conditional Play What is Conditional Play? Conditional play is a feature that allows you to set rules for when content within a layout is eligible to be displayed. You can set specific conditions based on: Time Days of the week Date ranges Weather conditions Temperature Wind speed Device connectivity Room booking meeting Conditional play can be set on pages, zones and playlist items, giving you complete control of what content is to be shown and when. You can also add multiple conditional play rules to an item giving even further control. The rules are based on the device that the layout is being displayed on, so the time, date and location settings need to be accurately set on every device registered to your account. When registering a device, if it does not automatically geolocate, you can manually add a device location - this is important as this is the location that will be used for the weather conditions, wind and temperature rules for that device. When would I use conditional play? Times Used for content within a layout that you want to display during certain times of the day. Select 'Times' as the rule type then simply choose your start and end times. Set items to show on an overnight schedule, by applying the days rule too. A breakfast image to show between 06:00 and 10:30 Dates Used for content within a layout that you want to display during a specific date range. When adding a start and end date, the start will be 00:00 on the specified day and the end will be 23:59 on the specified day. For example, 1st December to 19th December will begin at midnight on the 1st and end at 23:59 on the 19th. Select 'Dates' as the rule type and then choose your start and end dates. A Christmas party reminder running from 1st December to 19th December. Days Used for content within a layout that you want to display on specific day(s) of the week. Select 'Days' as the rule type, then select the day(s). If you have content playing overnight, you will need to select the 'Include next day if has overnight time rule' option otherwise the item will only show up until midnight. Weather Condition Used for content within a layout that you want to display during certain weather conditions. Select 'Weather condition' as the rule type and choose your condition. A text item to remind people to take extra care while driving in the foggy conditions Temperature Used for content within a layout that you want to display while the weather is between a certain temperature range (either celsius or fahrenheit). Select 'Temperature' as the rule type, then choose unit of degrees and specify your low and high temperatures. An ice cream offer that appears when the temperature exceeds 20°C (low temp). Wind Used for content within a layout that you want to show when the wind is between two units of speed (either MPH or KPH). Select 'Wind' as the rule type, choose the unit of speed and specify your wind speeds. A text item to notify the surfers to expect good surfing conditions due to the high wind speed Connectivity Used for content within a layout that you want to display depending on the connectivity status of your device. Select 'Connectivity' as the rule type then choose the status (online or offline). Add the 'offline' status to an image to only show when the device is offline. (if you had a website in the same zone, this wouldn't show when the device is offline, so show this image instead of having an empty zone) Room booking You can schedule items to show/ hide depending on whether there is/ is not a meeting in progress. You will need to add the room booking plugin, with room booking system, into a zone on the page - conditions are taken from this room booking system. Then add the room booking conditional play to the content you want to schedule. Room booking plugin Add the 'Meeting In Progress' option to show a zone with an image of the clients logo, while their meeting is in progress. You can add multiple types of conditions to any item (page, zone or playlist item). The more conditions you set the more specific you are about when you want that item to display. For example, if you had a 'It is cold this morning, come in and purchase a coffee' message you could set 'Times' and 'Temperature' conditions to only display that message during the morning whilst the weather is between two specific temperatures. Note: All conditions that have been set must be met for the content to show.Conditional Play - Pages When would I add conditional play to my page? Within a layout, you can have multiple pages and it may be that you have a page that should only show during specific periods - you can do this by adding conditional play. This gives you the ability to set up all of your pages and control when each page shows. By default, Pages will have no conditional play set and will always be eligible to display. It is only when you want to set specific rules for that page to display that you can use conditional play. You can set specific conditions based on: Time Days of the week Date ranges Weather conditions Temperature Wind speed Device connectivity Examples of why/when you would use conditional play on pages Breakfast Menu Page - Add the 'Times' rule to your breakfast page to only display it during specific times (7:00 - 11:00) Christmas Party Reminder Page - Add the 'Dates' rule to your Christmas party page to only display it the week leading up to your Christmas party. Friday Offer Page - Add the 'Day' rule to your Friday offer page to only display it on a Friday Holiday Page - Add the 'Weather Condition' rule to your Holiday page to only display it when the weather condition is 'sunny/clear' De-Icer Page - Add the 'Temperature' rule to your De-Icer page to only display it when the temperature is cold Safety Notice - Add the 'Wind' rule to your Safety Notice page to only display it when there is high wind speed Holding Message - Add the 'Connectivity' rule to the Holding page of your web-based kiosk to only display when the device is 'offline' Fire Drill Reminder Page - Add multiple rules (potentially 'Time' & 'Day') to only display it during specific times on certain days of the week (Tuesday 10:00 - 10:30) How do I add conditional play to my page? In the layout builder, go to the overview of your pages, by pressing the grid button on the pages area (top left of the builder) Navigate to the conditional play settings tab. You can do this by either selecting the page you want to add your conditional play to and clicking the conditional play settings tab or by simply clicking the conditional play list on the page summary listing Click 'Add rule' to add a conditional play rule to your selected page(s) Here you can add as many rules as you wish and all rules must be met for content to be eligible to play. Press the 'Add rule' button to increase the number of rules. Simply select your 'Rule type' then fill out the relevant information. Below we have added two rules to only show this page on a Tuesday between 10:00 - 10:30. We can schedule a page to show overnight, by also using the 'Times' and 'Days' rules. We have to select the 'Include next day if has overnight time rule' otherwise the page will only show up until midnight. We simply set the times and select the day(s) we want the overnight schedule for. If you want to show the page on a Wednesday overnight, we dont select Thursday. (otherwise the page will also show Thursday overnight) Once your rules have been set, you will see them on your page summary. It will also show if the page will/will not show depending on the rules set (based on the device/browser you are using to build the layout content at that time). In the image below, you can see BOTH of the page rules have not been met (indicated by a ( ! )next to time, (✓) next to date) and therefore this page will not be eligible to play. To remove a rule, simply click the 'x' button to the right of the rule you wish to remove. Conditional Play - Zones Why use conditional play on zones? Conditional play is used to set rules for when content in a layout is eligible to be shown. This feature gives you the ability to make sure the correct content is being displayed at the right time and reactive to real world conditions. By default, Zones will have no conditional play and will always be eligible to display. It is only when you want to set specific rules for that zone to display that you can use conditional play. You can set specific conditions based on: Time Days of the week Date ranges Weather conditions Temperature Wind speed Device connectivity Room booking Example of why/when to use conditional play on zones Good morning zone - If you had a zone with a good morning messages you could add the 'Times' rule to only show it during the morning. Half term notice zone - May have some information regarding half term clubs that you could add the 'Dates' rule to, so it only shows leading up to/ during half term. Match information zone - If you had a zone regarding a sports match you could add the 'Day' rule to only show it on the day of the match. Sledge promo zone - A zone with a promotion for Sledges could have the 'Weather condition' rule added to it to only display when the weather condition is 'snow/sleet' Stay hydrated notice zone - Display your 'drink more water' notice when the temperature rises by adding the 'Temperature' rule to your zone. Harbour & Beach zone - Display advisories / warnings to sailors and beach goers when there are high wind speeds by adding the 'Wind' rule to your zone Client logo zone - Show a zone with the clients logo when their meeting is in progress by adding the 'Room Booking' rule to your zone. Offline image zone - Show your offline image when your device goes offline to replace a widget that requires an internet connection by adding the 'Connectivity' rule to your zone. Hot chocolate videos zone - Display your hot chocolate videos during the morning when the temperature is low by setting 'Times' & 'Temperature' rules to your zone. How do I add conditional play to my zones? In the layout builder, select the zone(s) you wish to add your rules to. Navigate to the 'Conditional Play' option for that zone in the zone options panel (right side of builder). Click 'Add rule' Choose your rule type and enter in the relevant information You can add multiple rules to your zone but ALL rules must be met for the zone to show. Once you have set your rules, you will see if the zone will/will not show depending on the rules set (based on the device/browser you are using to build the layout content with at that time). You will also see that the zone will display how many conditions have been set on that zone. To remove a rule, simply click the 'x' button to the right of that rule. Conditional Play - Playlist Items Why use a conditional play on playlist items? If you needed different pieces of content to display during specific periods but in the same position on your page, you can add all of these items into one zone, then add conditional play to each item to display them at the relevant periods. By default, playlist items will have no conditional play and will always be eligible to display. It is only when you want to set specific rules for that item to display that you can use conditional play. You can set specific conditions based on: Time Days of the week Date ranges Weather conditions Temperature Wind speed Device connectivity An example of using 'Time' & 'Day' conditions on text playlist items We have one zone with multiple text playlist items, which we want to show at certain times, on specific days of the week. If we set each item to play for 15 seconds and then add conditional play, the relevant playlist item will only be shown if its rules have been met. If only one playlist items' rules have been met, this item will show indefinitely. How do I add conditional play to my playlist items? In a zone playlist, select a playlist item, navigate to the 'Conditional Play' setting by clicking the conditional play settings tab. Alternatively, simply click on any playlist items' conditional play setting on the playlist item list view. Select the  'Add rule' Choose your rules and fill out the relevant information for that rule. You can add multiple rules to each playlist item by again clicking 'Add rule' Once the rules have been set, they will be visible on the playlist item. It will also show whether the item will/will not show depending on the rules set. A playlist item with conditional play set, will only play when ALL rules have been met. In the below example, two items have their 'Day' rule met but only one has the 'Times' rule met (indicated by a ( ! ) next to time, (✓) next to date), meaning this is the only item eligible to be shown. If we set conditional play on all of our playlist items and we had a period in which none of the rules were met, our zone would not display any items. Overnight schedule You can set content to show overnight by also using the 'Times' and 'Days' rule. When adding the days rule you have to select the 'Include next day if has overnight time rule' otherwise the item will only show up until midnight.If you want to show an item Wednesday 21:00 - Thursday 07:00. Notice we have only selected Wednesday and not Thursday. If we were also to select Thursday the item would also show Thursday 21:00 - Friday 07:00. How do I remove conditional play from my playlist item? To remove a rule, simply click the 'x' to the right of the rule you wish to remove. Overview of Device Conditional Play The device conditional play works in a different way, it allows you to only show media with specific tags. Tags are added to the media items, and the condition is configured when editing your device. This feature allows you to show specific media items on certain devices from one layout. For example, we have offices in London, Paris & New York. We have six images, two of London, two of Paris and two of New York. We want our devices to only show the media from the relevant cities. Tag Media First step is to add tags to your media items. Simply select your media item(s), click 'Tags' and specify your tag. Once media has been tagged, you will see the tag to the right of the items information. We have tagged the two Paris images with the tag 'paris' and London images 'london'. Media items can have multiple tags, just follow the same procedure of selecting and specifying your tag. Create layout Next step is to create your content using the layout builder and inserting the images. We can insert all of our images in the same zone and when we publish it down to our devices, they will only show specific media depending on their tag. Configure device Once our layout has been created, we can configure the device to only show specific media items. Go to the devices section, edit your relevant device and find the 'Conditional Play' feature. Once enabled you will see the settings you can configure. Exclude/ Only show - Gives you the ability to select whether you want to exclude or only show media with specific tags all/ any - Important if your media items have multiple tags - If 'all' is selected the device will only show media items with ALL of the following tags (must be tagged with all of the following tags). If 'any' is selected the device will only show media items with ANY of the following tags (only has to have one of the following tags). Specify your tags in the input field and untagged media - If selected, will also show all of the media used in the layout that hasn't been tagged. For our example, we would set up our London device as follows, to only show media items that have the tag 'london': Once this has been set up, click 'Save Device'. Preview layout When previewing your layout, you can select which device to preview it on. Meaning you will preview your layout using the settings set on the device selected.