Windy Community

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

    Console Geolocation Error with Embed

    Your Feedback and Suggestions
    iframe embed safari javascript
    1
    2
    47
    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.
    • D
      DaveL17 last edited by

      Hello - FYI, I'm getting the following console error when using the stock <iframe> embed in Safari 16.2:

      Feature policy 'Geolocation' check failed for iframe with origin 'https://embed.windy.com' and allow attribute ''.

      the error is on embed2.js:49:260. I don't believe the error is a result of browser privacy settings, but I could be wrong about that.

      I don't get the error on FireFox 106, and I don't use Chrome.

      1 Reply Last reply Reply Quote 0
      • D
        DaveL17 last edited by

        When I load the embed source outside the <iframe>, I'm tapped by Safari to allow windy.com access to location data. This, at least theoretically, shouldn't be necessary since the requested lat/long is within the embedded URI and browser location may be meaningless to the request (the browser may not be located at the requested location).

        Is there an API flag to suppress the request for the browser's location?

        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 and Conditions     Privacy Policy