Windy Community

    • Register
    • Login
    • Search
    • Unread
    • Categories
    • Groups
    • Go to windy.com

    Autoplay radar on embedded

    General Discussion
    8
    10
    1946
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • lightmastertech
      lightmastertech Developers last edited by

      I've got Windy.com radar embedded on my BaxleyWeather.com, how can I get the radar to autoplay when it's loaded? I don't see any option on embedded widget creation page, and I've tried adding an "autoplay=1" and "autoPlay=1" to the url with no success.

      D 1 Reply Last reply Reply Quote 6
      • D
        djthproductions @lightmastertech last edited by

        @lightmastertech Why was there never a reply on this question?

        1 Reply Last reply Reply Quote 0
        • fenster24
          fenster24 last edited by

          I am struggling to find a solution for this as well. I was hoping a simple URL parameter would do the trick, but I haven't found one yet. I've tried the same ones you have, as well as things like "playPause", "animation", "play", "loop", "start", etc. And I've tried values of "1", "on", "true" for all of those. I guess it's just not supported.

          I did see somewhere else that someone was able to send a javascript command to click the "playpause" button after loading. But I'm using iframe within my Home Assistant server and don't have the ability to pass javascript. :(

          J 1 Reply Last reply Reply Quote 0
          • J
            jerome48 @fenster24 last edited by

            Hi everyone, did you find a solution to auto play an embeded windy map ? I've tried by jquery, javascript, but it's impossible since the iFrame is considered as a cross origin content.
            Thanks

            Korina 1 Reply Last reply Reply Quote 0
            • Korina
              Korina Administrator @jerome48 last edited by

              @jerome48 Hello, there is no autoplay option, the widget animation shows the current time.

              Korina

              B 1 Reply Last reply Reply Quote 0
              • B
                Bittersweet1987 @Korina last edited by

                @korina said in Autoplay radar on embedded:

                @jerome48 Hello, there is no autoplay option, the widget animation shows the current time.

                Well thats not correct. I found a way to use autoplay with embedded mode.
                You have to implement the following Code

                document.evaluate(
                  '//*[@*[starts-with(name(), "data-ref")]="play"]',
                  document,
                  null,
                  XPathResult.ANY_TYPE,
                  null
                ).iterateNext().click()
                
                K 1 Reply Last reply Reply Quote 0
                • K
                  kbohlman @Bittersweet1987 last edited by

                  @bittersweet1987 How would I embed this with this code - we are using Novisign and would like to use the autoplay feature on our digital sign.

                  K 1 Reply Last reply Reply Quote 0
                  • K
                    kbohlman @kbohlman last edited by

                    @Bittersweet1987 iframe width="650" height="450" src="https://embed.windy.com/embed2.html?lat=32.817&lon=-96.729&detailLat=32.947&detailLon=-96.703&width=650&height=450&zoom=11&level=surface&overlay=radar&product=radar&menu=&message=&marker=&calendar=now&pressure=&type=map&location=coordinates&detail=&metricWind=default&metricTemp=default&radarRange=-1" frameborder="1">

                    1 Reply Last reply Reply Quote 0
                    • KĀV Events
                      KĀV Events last edited by

                      Re: Autoplay radar on embedded

                      Hello,

                      I have been using the embedded Windy app on a sign through ScreenHub. I am looking to Autoplay the radar on the sign.

                      It appears that the person in the linked thread was able to use coding to get the radar to play automatically.

                      I have not navigated the world of coding, API, or anything more complex than the Embed Radar Map feature on the Windy website. Is there a way that I can get the radar to autoplay? Here is the embed code:

                      Thanks for any help!

                      KĀV Events 1 Reply Last reply Reply Quote 0
                      • KĀV Events
                        KĀV Events @KĀV Events last edited by

                        @kāv-events

                        sorry, here is the code:

                        iframe width="1500" height="870" src="https://embed.windy.com/embed2.html?lat=42.809&lon=-78.841&detailLat=42.809&detailLon=-78.841&width=1500&height=800&zoom=11&level=surface&overlay=radar&product=radar&menu=&message=&marker=&calendar=12&pressure=&type=map&location=coordinates&detail=&metricWind=default&metricTemp=default&radarRange=-1" frameborder="0">

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post
                        Windyty, S.E. - all rights reserved. Powered by excellent NodeBB
                        NodeBB & contributors, OSM & contributors, HERE maps
                        Terms of Use     Privacy Policy