最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

Replace a specific URL on all apperances on the Website (Maybe a filter?)

programmeradmin1浏览0评论

I'm stuck with this problem:

The Plugin "Lazy Load - Optimize Images" is doing a great job lazy loading YouTube-Videos but is automatically using a preview picture from the YouTube-Server. The Server ist very slow and when I show a Video above the fold it really drags the page speed insights rating down.

Is there a way to replace the URL manually after the plugin created it's part of the html-code? Like a filter I can use? Of course I know the URL-String i want to replace..

(The creator of the plugin didn't provide a solution for that question in the support forum, so I'm hoping for a solution from you guys ;-) ).

Edit: This is the code, that i want to change:

<div data-id="89KRyVaCkbQ" data-query="feature=oembed" data-src=";><img loading="lazy" alt="" src=".jpg" class="lazyloaded" data-ll-status="loaded" width="480" height="360"><noscript><img src=".jpg" alt="" width="480" height="360"></noscript><div class="play"></div></div>
发布评论

评论列表(0)

  1. 暂无评论