0

Time and Weather

Hello,

Due to HTML having the highest Z-Index I can't show a Clock zone on top of my html and I will need to hard code the time into the HTML. How could I retrieve the players time data and display it in HTML? Also is there any way to display the weather that is not API based?

3 comments

  • 0
    Avatar
    JRB Technical

    For HTML Time here is the code, you will have to modify to fit your space, font size, etc. You can download the files here:

    https://app.box.com/s/5h27nau30csb88xx48i1rln7a2kk521i

    You will need both the HTML code, and the moment.js file.  If you put these both in the same folder, when you add the HTML file, as local content, BrightAuthor will automatically include the moment.js file.

    This uses the local time on the player, if you have any questions, please ask.

     

    As for Weather, I also do custom weather feeds for people all over the world, and can setup for any Zone Size and format that you may need. This is a Media RSS Feed, and the feed will update with images for the player every hour, and is easy to add to a zone.

    The subscription cost is $60 USD per player/per year ($5 a month).

    For more information please go to https://ds-weather.com/

    I hope this helps.

    John

  • 0
    Avatar
    Wyatt Hoffman

    Thanks for the info HTML and js file were perfect. We will keep you in mind for weather but we are going another route for now thank you

  • 0
    Avatar
    Jake Cairns

    Good Morning, i used moment.js earlier this year. thanks for the help. i have had to revisit this project again. and am now displaying the date in html.  e.g "Friday, November 15th, 2019" i have set an interval in javascript so that my code is constantly running but this does not seem to work. and so after my content is loaded on to a brightsign player the date stays the same and does not update the following day.

    could you please advise me on what to do? 

     

    thanks Jake 

Please sign in to leave a comment.