Script for Webflow JSON for inserting a Webflow youtube vid found on website

I found this code on my page :

script type=“application/json” class=“w-json”>{
“items”: [
{
“url”: "https://youtube.com/watch?v=v1M4ydNlgP0",
“originalUrl”: "https://youtube.com/watch?v=v1M4ydNlgP0",
“width”: 940,
“height”: 528,
“thumbnailUrl”: "https://i.ytimg.com/vi/v1M4ydNlgP0/hqdefault.jpg",
“html”: “<iframe class="embedly-embed" src="//cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Fv1M4ydNlgP0%3Ffeature%3Doembed&display_name=YouTube&url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Dv1M4ydNlgP0&image=https%3A%2F%2Fi.ytimg.com%2Fvi%2Fv1M4ydNlgP0%2Fhqdefault.jpg&key=96f1f04c5f4143bcb0f2e68c87d65feb&type=text%2Fhtml&schema=youtube" width="940" height="528" scrolling="no" title="YouTube embed" frameborder="0" allow="autoplay; fullscreen" allowfullscreen="true">”,
“type”: “video”
}
],
“group”: “”
}

it inserts a json containg the URL’s for a Webflow video on Youtube.

How do I remove this? It is causing our cookie manager to pick up youtube, a big big issue

Regards and thanks

Can you share your preview link?

Here’s how you can do that

https://preview.webflow.com/preview/truendo?utm_medium=preview_link&utm_source=dashboard&utm_content=truendo&preview=f84bb42895b480946f1889a83696c494&workflow=preview

@Shirveen - Get rid of the hidden lightbox element which is causing that code to be injected on the page.

1 Like