-
In one page I am for example sharing a google map ... and in other pages I am sharing YouTube videos... I am getting erros in both pages, but how can I share the videos and map without getting a cookie error? I was also using a Google ad script, but that one was always giving errors anyway, and I think I might just delete it. Here is an example of the video pages getting cookie errors. The full code is here: Here is the component code: I think... it has to do with the iframe? But how can I use it without getting errors?
To fill the information in the iframe I am importing a json document... for this specific page the object looks like this below... the
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
Any feedback would be awesome. This has me a bit concern because seems like I won't be able to share videos and/or the Google Map iframes any longer. |
Beta Was this translation helpful? Give feedback.
-
So.. Apparently Youtube has a new src address for imbedding videos without cookies. I need to get the new source code and change it, and take takes care of YouTube. I did read the link above.. doesn't tell me how to fix it the cookie error for the cases I have presented. I still need to figure out how to fix the other cookie error for the google maps, and likely I am just going to delete the Google Ad code. |
Beta Was this translation helpful? Give feedback.
-
Google maps cookie errors? If you want to keep using the Google maps (unless go to a different source), you will need to use the Google Maps API instead of the iframe from the the Google Maps website. The API doesn't use cookies as the website iframe does, and that will solve the error.. Now I got the cookie problems solved for the maps and YouTube. I still have one more cookie problem showing up, but I haven't detected the source of it, and I will post about it later on.. Took me a while figuring out "how" to solve each cookie problem from the lighthouse... the solutions for each case were different and I had to go ask on other google forums to get a feedback, and/or do some Google searches.. The Google Lighthouse doesn't tell you "use the google maps API" or "use the nocookie imbedded link src showing in the YouTube options now"... really gotta dig deeper to find a solution. |
Beta Was this translation helpful? Give feedback.
Google maps cookie errors?
If you want to keep using the Google maps (unless go to a different source), you will need to use the Google Maps API instead of the iframe from the the Google Maps website. The API doesn't use cookies as the website iframe does, and that will solve the error..
Now I got the cookie problems solved for the maps and YouTube.
I still have one more cookie problem showing up, but I haven't detected the source of it, and I will post about it later on..
Took me a while figuring out "how" to solve each cookie problem from the lighthouse... the solutions for each case were different and I had to go ask on other google forums to get a feedback, and/or do some Google searc…