Windy Community

    • Register
    • Login
    • Search
    • Unread
    • Categories
    • Groups
    • Go to windy.com
    1. Home
    2. raimondsozolins
    R
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 2
    • Best 1
    • Controversial 0
    • Groups 0

    raimondsozolins

    @raimondsozolins

    2
    Reputation
    2
    Profile views
    2
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    raimondsozolins Unfollow Follow

    Best posts made by raimondsozolins

    • RE: Refused to frame 'https://www.windy.com/' because an ancestor violates the following Content Security Policy directive: "frame-ancestors 'self' *.windy.com:*".

      @korina Hello, Korina! I have tried to embed the video from the webcams. And it appears I have made insufficient parameters in API request and now I have fixed that.
      original request was:
      $ch_11 = curl_init('https://api.windy.com/api/webcams/v2/list/limit=50/country='.$_REQUEST['iso'].'?show=webcams:location,image,url&key=GTF6sZ8uiTdotXLIn5F43DlCvwt2GIby');

      fixed(with the player parameter added):
      $ch_11 = curl_init('https://api.windy.com/api/webcams/v2/list/limit=50/country='.$_REQUEST['iso'].'?show=webcams:location,image,player&key=GTF6sZ8uiTdotXLIn5F43DlCvwt2GIby');

      Thank you and do apologize for the inconvenience

      posted in Developers
      R
      raimondsozolins

    Latest posts made by raimondsozolins

    • RE: Refused to frame 'https://www.windy.com/' because an ancestor violates the following Content Security Policy directive: "frame-ancestors 'self' *.windy.com:*".

      @korina Hello, Korina! I have tried to embed the video from the webcams. And it appears I have made insufficient parameters in API request and now I have fixed that.
      original request was:
      $ch_11 = curl_init('https://api.windy.com/api/webcams/v2/list/limit=50/country='.$_REQUEST['iso'].'?show=webcams:location,image,url&key=GTF6sZ8uiTdotXLIn5F43DlCvwt2GIby');

      fixed(with the player parameter added):
      $ch_11 = curl_init('https://api.windy.com/api/webcams/v2/list/limit=50/country='.$_REQUEST['iso'].'?show=webcams:location,image,player&key=GTF6sZ8uiTdotXLIn5F43DlCvwt2GIby');

      Thank you and do apologize for the inconvenience

      posted in Developers
      R
      raimondsozolins
    • Refused to frame 'https://www.windy.com/' because an ancestor violates the following Content Security Policy directive: "frame-ancestors 'self' *.windy.com:*".

      I am doing the project which concludes my WEB developer learning. I have used your webcam API, when I implemented API for the very first time, from the icon popup user could click on the link to get access to the relevant webcam. But my tutor said that the specification has been indicates my project is SPA, and I have to use an iframe tag to show the webcam translations. When I have refactored the code I got the following error :
      Refused to frame 'https://www.windy.com/' because an ancestor violates the following Content Security Policy directive: "frame-ancestors 'self' .windy.com:". Any advice will be highly appreciated.

      posted in Developers
      R
      raimondsozolins