Proper use of duration to control refreshing of dynamic content

Asked by John Kerenyi

I'm prototyping a public information display for my employer. I've read through the Xibo documentation and help tickets here on Launchpad, and I haven't found the answer to my inquiry therein. Hopefully someone can point me in the proper direction. Apologies if I missed something.

My prototype features traffic information from Google via the embedded region type (with content hopefully divided properly between the HTML and HEAD input boxes), along with some text-only tickers which will later be replaced by dynamic content.

I would like the map to update on a different schedule from the rest of the content. For example, the map might update every five minutes, and the rest of the content every 30 minutes (precise timing to be determined later).

For testing, I set the region with the embedded content (i.e., the traffic map) to duration 120 seconds, and all other regions to 240 seconds. The map updates every 240 seconds, not every 120 seconds as I would have expected.

I can place everything on the same duration, but the issue is that I may not want ticker data to be updated as frequently since it may take longer for the ticker to run through its content than the refresh interval on the map. But even if the ticker data is not so extensive (and as well, I know no one will read a ticker for five minutes), I believe it would look more elegant if most content refreshes were confined to the map only.

I kept the Javascript routine (called EmbedInit() ) in the "HEAD Content to Embed" box, and edited it to call the appropriate function that pulls the traffic map from Google. So this is probably not the issue.

I am open to any suggestions the community may have for correctly applying the "duration" parameter.

Question information

Language:
English Edit question
Status:
Solved
For:
Xibo Edit question
Assignee:
No assignee Edit question
Solved by:
Alex Harrington
Solved:
Last query:
Last reply:
Revision history for this message
Best Alex Harrington (alexharrington) said :
#1

Make a duplicate of your embedded html media item and put it in the same
region as the first. If there are two items in the region the client will
switch between them as you expect. If only one item is in there it will be
shown then it won't refresh until the layout completes

Revision history for this message
John Kerenyi (jkerenyi123) said :
#2

Thanks Alex Harrington, that solved my question.