# Lottie embedding not working

**URL:** <https://forum.lottiefiles.com/t/lottie-embedding-not-working/4018>\
**Category:** Lottie in Web\
**Created:** [March 8, 2023, 6:57am UTC](https://forum.lottiefiles.com/t/lottie-embedding-not-working/4018 "2023-03-08T06:57:33Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![byobema796](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.lottiefiles.com/byobema796/32/2558_2.png) [@byobema796](https://forum.lottiefiles.com/u/byobema796)\
**Post date:** [March 8, 2023, 6:57am UTC](https://forum.lottiefiles.com/t/lottie-embedding-not-working/4018/1 "2023-03-08T06:57:33Z")

</div>

Embedding a lottie in an `<iframe>` does not display it correctly.  
Does anyone know what it is?

```auto
<iframe src="https://embed.lottiefiles.com/animation/78003"></iframe>

```

 ![image](https://canada1.discourse-cdn.com/flex030/uploads/lottiefiles/original/2X/8/8a535c3216a986165f61030939425410e2c4435f.png)

---

<div class="post-metadata">

**Author:** ![irbypace](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.lottiefiles.com/irbypace/32/3165_2.png) [@irbypace](https://forum.lottiefiles.com/u/irbypace)\
**Post date:** [March 8, 2023, 6:57pm UTC](https://forum.lottiefiles.com/t/lottie-embedding-not-working/4018/2 "2023-03-08T18:57:55Z")

</div>

Maybe this will help: [Using Lottie Animations through iFrames , ublik-om.net](https://ublik-om.net/using-lottie-animations-through-iframes/)

Or this: [How to Add Lottie Animations to a Website with HTML - LottieFiles](https://lottiefiles.com/blog/working-with-lottie/how-to-add-lottie-animation-in-web-page-html/)

---

<div class="post-metadata">

**Author:** ![byobema796](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.lottiefiles.com/byobema796/32/2558_2.png) [@byobema796](https://forum.lottiefiles.com/u/byobema796)\
**Post date:** [March 9, 2023, 9:53am UTC](https://forum.lottiefiles.com/t/lottie-embedding-not-working/4018/3 "2023-03-09T09:53:59Z")

</div>

Thanks for the reply!  
I checked the web page you shared.

Is the only way to do this is to insert `<script>` and `<lottie-player>`?  
Is it possible to achieve this with `<iframe>`?  
Due to limitations of the web service we are using, we cannot insert `<script>`.

In fact, until a few weeks ago, it was working with `<iframe>`. Suddenly, it stopped working, showing only the LottieFiles logo.

As you can see in the screenshot, I can output the `<iframe>` code, so it seems to be supported.

![image](https://canada1.discourse-cdn.com/flex030/uploads/lottiefiles/original/2X/5/50c56cae5ebb1aeff38dbcf0483495aa89d5ba62.png)

---

<div class="post-metadata">

**Author:** ![irbypace](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.lottiefiles.com/irbypace/32/3165_2.png) [@irbypace](https://forum.lottiefiles.com/u/irbypace)\
**Post date:** [March 9, 2023, 8:34pm UTC](https://forum.lottiefiles.com/t/lottie-embedding-not-working/4018/4 "2023-03-09T20:34:36Z")

</div>

Oh wild. I wonder if it suddenly stopped working that maybe a permission got changed on the animation itself?

---

<div class="post-metadata">

**Author:** ![byobema796](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.lottiefiles.com/byobema796/32/2558_2.png) [@byobema796](https://forum.lottiefiles.com/u/byobema796)\
**Post date:** [March 10, 2023, 9:12am UTC](https://forum.lottiefiles.com/t/lottie-embedding-not-working/4018/5 "2023-03-10T09:12:02Z")

</div>

I just checked and it was displayed correctly.  
I didn’t change anything.  
Maybe it was a temporary problem.

Thanks for your help!

---

<div class="post-metadata">

**Author:** ![isionindustriesoffic](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.lottiefiles.com/isionindustriesoffic/32/3293_2.png) [@isionindustriesoffic](https://forum.lottiefiles.com/u/isionindustriesoffic)\
**Post date:** [December 16, 2023, 8:25pm UTC](https://forum.lottiefiles.com/t/lottie-embedding-not-working/4018/6 "2023-12-16T20:25:54Z")

</div>

[I found it now, its in the handoff section] I don’t see that “iframe code” section on the LottieFiles site anymore
