BrightAuthor:connected
...
Presentation
State Properties

On Demand State

7min
the on demand state allows you to combine media files into a single state in the playlist area you can then use the event that transitions to the on demand state to conditionally determine which file in the playlist should be played when the on demand state is double clicked, the on demand canvas will appear the on demand canvas gives you the option to add content from assets to the on demand state to exit this canvas, click the zone description located in the top left corner of the canvas this will take you back to the zone content canvas the on demand state can only be transitioned to using input from bp900/bp200, udp, serial, keyboard, or usb devices the input data from the controller will determine which media item in the on demand state will be played for example, you can use a keyboard input event to playback “video 1” if the “a” key is pressed, “video 2” if the “b” key is pressed, "video 3" if the "c" key is pressed, etc any type of event can transition out of a play file state and into a new state for bp200/bp900 events, you must specify each key using both the panel enumeration and button number for example, if you have a single bp200/bp900 panel connected to the player and want button 3 to trigger an image, you would specify the key as "0 3"; on the other hand, if you have a second bp200/bp900 panel connected to the player and want button 3 on the second panel to trigger the image, you would specify the key as "1 3" state properties name the user selected name of the on demand state list content populate from feed populate the state using a feed url specify the url of an rss feed (this feature does not support mrss feeds) in the example below, is the on demand key value and is the media download url upon playing the presentation, the player will retrieve media from the download urls specified in the \<description> field of each item in the feed the on demand state will use the value in the \<title> field as the key to determine which media item to play you must specify the item type either the 'type' or 'medium' attributes can be used (see http //www rssboard org/media rss http //www rssboard org/media rss ) valid values are 'image', 'video', and 'audio' for example \<?xml version="1 0" encoding="utf 8" ?> \<rss version="2 0" xmlns\ media="http //search yahoo com/mrss/"> \<channel> \<title>media rss feed\</title> \<description>ondemandwidget\</description> \<item> \<title>image1\</title> \<description>https //www brightsignnetwork com/download/johndoe/mrss/formedialist/1 jpg\</description> \<medium>image\</medium> \</item> \<item> \<title>video1\</title> \<description>https //www brightsignnetwork com/download/alexk/mrss/formedialist/1 mov\</description> \<medium>video\</medium> \</item> \</channel> \</rss> dynamic playlist populate the on demand state using a content docid\ gpjwf1lnjhau eqzjmfuq from your bsn content library the on demand state will use the filename as the key to determine which media item to play live media feed populate the on demand state using a content docid\ gpjwf1lnjhau eqzjmfuq from your bsn content library the on demand state will use the title of the feed item to determine which media item to play update interval specify how often the player should refresh the contents of the feed parser plugin select a feed parser to parse the feed data before it is passed to the on demand state optimize feed updates (use head calls) check this box to have the player make an http head request before retrieving the contents of a feed see presentation settings docid\ a6ali6u szxhuansk6t3 for more details automatically generate user variables from data feed use the feed to populate a set of user variables for html pages see presentation settings docid\ a6ali6u szxhuansk6t3 for more details display default media if input does not match any keys check this box to display the specified media file when the input data does not match any existing keys in the on demand state if this box is not checked, and the input data does not match an existing key, the presentation will not transition to the on demand state, remaining on its current state instead use variable to specify key check this box to have a presentation settings docid\ a6ali6u szxhuansk6t3 specify the media file key the input data from the controller will be ignored, though input of some kind must be received to trigger the interactive event for example, if a keyboard event is attached to the on demand state and this option is enabled, any key press will initialize a transition to the play file state; the value of the specified user variable will then be checked against the keys in the on demand state to determine which file, if any, should be played if you attach a command that modifies the user variable value (e g set variable, increment variable) to an event that transitions to the on demand state, the media file keys will still be compared against the old variable value however, if the display default media option is enabled, the new user variable value will be used instead notes this section lets you store important information about the on demand state for future users it can be modified at any time advanced this section lets you add commands to your presentation to extend its functionality see commands & conditional targets docid\ az1ytdteyh zp2dbg lbl for more info