0

Tried with default theme: no

Tried with all other plugins disabled: no

Browser version: Chrome 96.0.4664.110

Shortcode/URL with the issue: Any video already embed while arve was active

I’ve uninstalled ARVE, but the site is still outputting the <script type=”application/json” data-arve-oembed>{“title”:”…. code after the iframe code generated by WordPress.  This only happens for videos that were embedded while ARVE was active.  New embeds do not exhibit the same behaviour. 

example code for two videos on the same page.  The first was embedded while ARVE was active and the second after is was disabled.  This is the code with ARVE deactivated

<iframe loading=”lazy” title=”How to use ARVE Advanced Responsive Video Embedder” width=”500″ height=”375″ src=”https://www.youtube.com/embed/m6mkA6Zr1vY?feature=oembed” frameborder=”0″ allow=”accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture” allowfullscreen></iframe><script type=”application/json” data-arve-oembed>{“title”:”How to use ARVE Advanced Responsive Video Embedder”,”author_name”:”Advanced Responsive Video Embedder”,”author_url”:”https://www.youtube.com/channel/UCyiNwZ-YM5TTfM5F3kgeB3Q”,”type”:”video”,”height”:”375″,”width”:”500″,”version”:”1.0″,”provider_name”:”YouTube”,”provider_url”:”https://www.youtube.com/”,”thumbnail_height”:”360″,”thumbnail_width”:”480″,”thumbnail_url”:”https://i.ytimg.com/vi/m6mkA6Zr1vY/hqdefault.jpg”,”html”:”&lt;iframe width=&quot;500&quot; height=&quot;375&quot; src=&quot;https://www.youtube.com/embed/m6mkA6Zr1vY?feature=oembed&quot; frameborder=&quot;0&quot; allow=&quot;accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture&quot; allowfullscreen&gt;&lt;/iframe&gt;”,”arve_cachetime”:”2021-12-15 15:09:22″,”arve_url”:”https://www.youtube.com/watch?v=m6mkA6Zr1vY”,”arve_srcset”:”https://i.ytimg.com/vi/m6mkA6Zr1vY/mqdefault.jpg 320w, https://i.ytimg.com/vi/m6mkA6Zr1vY/hqdefault.jpg 480w, https://i.ytimg.com/vi/m6mkA6Zr1vY/sddefault.jpg 640w, https://i.ytimg.com/vi/m6mkA6Zr1vY/maxresdefault.jpg 1280w”}</script>

<iframe loading=”lazy” title=”Plan B put to vote in UK as Omicron spreads and booster rush continues – BBC News” width=”500″ height=”281″ src=”https://www.youtube.com/embed/zpBD7QGR_xU?feature=oembed” frameborder=”0″ allow=”accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture” allowfullscreen></iframe>

How can i prevent this from happening?

Nico Posted new comment December 17, 2021

I’ve been doing some more investigation and it only happens on a page where the video has already been embedded. If the same youtube url is put on a different page the json script tag is not rendered

Are you aware that the code does nothing to your site? You can simply ignore it. You can also completely delete your oembed cache, there are plugins for that. I am working on an improvement on the plugin that will filter it out of the cache or delete the cache depending on mysql version.