Lottie Player在页面加载后立即被删除

发布于 2025-01-26 15:22:45 字数 722 浏览 4 评论 0原文

每次页面加载时,我的Lottie Player HTML元素都会删除我的Lottie Player html元素。该网站在WordPress上,Lottie Player代码通过自定义插件注入。它在此网站strucurecore.net上工作正常,但是在此网站上,BluePrintee.com动画刚刚显示并删除了。即使我尝试检查代码,也不在那里。 只需查看此屏幕截图: “在此处输入图像描述”

删除的代码为:

<lottie-player src="'.plugin_dir_url(__FILE__).'/assets/fetching.json" background="transparent"  speed="1"  style="width: 300px; height: 300px; margin:auto;z-index:99;position:relative;margin-bottom: -150px;" loop autoplay></lottie-player>

Elementor Pro插件已安装在网站上。 因此,任何黑客避免删除Lottie Player元素吗?

谢谢。

Folks my Lottie player HTML element is got deleted every time the page loads. The website is on WordPress and the Lottie player code is infused through a custom plugin. It is working fine on this website strucurecore.net but on this site, blueprintee.com animation just shows and got deleted. Even if I try to inspect the code It is not there where it has to be.
Just see this Screenshot:enter image description here

The code which is deleted is:

<lottie-player src="'.plugin_dir_url(__FILE__).'/assets/fetching.json" background="transparent"  speed="1"  style="width: 300px; height: 300px; margin:auto;z-index:99;position:relative;margin-bottom: -150px;" loop autoplay></lottie-player>

The Elementor Pro plugin is installed on the site.
So any hack to avoid the deletion of the Lottie player element?

Thanks.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文