# Clips showing slowly

**URL:** <https://staging-discuss.dev.twitch.com/t/clips-showing-slowly/30756>\
**Category:** API\
**Created:** [March 7, 2021, 5:14pm UTC](https://staging-discuss.dev.twitch.com/t/clips-showing-slowly/30756 "2021-03-07T17:14:12Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![softwareengineer](https://d1d6mrmdu7ztse.cloudfront.net/user_avatar/staging-discuss.dev.twitch.com/softwareengineer/32/11667_2.png) [@softwareengineer](https://staging-discuss.dev.twitch.com/u/softwareengineer)\
**Post date:** [March 7, 2021, 5:14pm UTC](https://staging-discuss.dev.twitch.com/t/clips-showing-slowly/30756/1 "2021-03-07T17:14:12Z")

</div>

Hi, I used an iframe to show the clips on the website but when the user views this it will take time to load the clip. Anyone can help to load the clip faster? Here is the iframe which I’m using:

“”

When I use the youtube video link then it loads instantly.

---

<div class="post-metadata">

**Author:** ![BarryCarlyon](https://d1d6mrmdu7ztse.cloudfront.net/user_avatar/staging-discuss.dev.twitch.com/barrycarlyon/32/253_2.png) [@BarryCarlyon](https://staging-discuss.dev.twitch.com/u/BarryCarlyon)\
**Post date:** [March 7, 2021, 5:16pm UTC](https://staging-discuss.dev.twitch.com/t/clips-showing-slowly/30756/2 "2021-03-07T17:16:27Z")

</div>

No. You have no power/ability to modfiy this behaviour

Twitch takes as long as Twitch takes.  
YouTube takes as long as YouTube takes.

---

<div class="post-metadata">

**Author:** ![moocat](https://d1d6mrmdu7ztse.cloudfront.net/user_avatar/staging-discuss.dev.twitch.com/moocat/32/116_2.png) [@moocat](https://staging-discuss.dev.twitch.com/u/moocat)\
**Post date:** [March 8, 2021, 6:01am UTC](https://staging-discuss.dev.twitch.com/t/clips-showing-slowly/30756/3 "2021-03-08T06:01:33Z")

</div>

Depending on cross domain issues, I’m sure you can load the video of the clip directly and show it in the browser.

Twitch’s iframes have always been incredibly slow with poor performance, so if you want to load fast then using your own solution would be best.

---

<div class="post-metadata">

**Author:** ![BarryCarlyon](https://d1d6mrmdu7ztse.cloudfront.net/user_avatar/staging-discuss.dev.twitch.com/barrycarlyon/32/253_2.png) [@BarryCarlyon](https://staging-discuss.dev.twitch.com/u/BarryCarlyon)\
**Post date:** [March 8, 2021, 1:26pm UTC](https://staging-discuss.dev.twitch.com/t/clips-showing-slowly/30756/4 "2021-03-08T13:26:10Z")

</div>

Could also look at using the Embed API instead of manual/“dumb” iFrames

Make sure to only include the JS once if you are including many clips on a single page.

> **[Embedding Twitch](https://dev.twitch.tv/docs/embed/)**
>
> Embedding Twitch in Your Website

Might also be raising a [bug report](https://github.com/twitchdev/issues/issues) or [feature request](https://twitch.uservoice.com/forums/310213-developers) to request improvements. if you can’t make any improvements after apply some basics/alternative.

---

<div class="post-metadata">

**Author:** ![softwareengineer](https://d1d6mrmdu7ztse.cloudfront.net/user_avatar/staging-discuss.dev.twitch.com/softwareengineer/32/11667_2.png) [@softwareengineer](https://staging-discuss.dev.twitch.com/u/softwareengineer)\
**Post date:** [March 8, 2021, 3:40pm UTC](https://staging-discuss.dev.twitch.com/t/clips-showing-slowly/30756/5 "2021-03-08T15:40:13Z")

</div>

@BarryCarlyon  
I previously used embed api but with that I was only able to play the full video instead of only clip. Can you please tell me that if I use embed api then how I can play only clip instead of full video.

---

<div class="post-metadata">

**Author:** ![BarryCarlyon](https://d1d6mrmdu7ztse.cloudfront.net/user_avatar/staging-discuss.dev.twitch.com/barrycarlyon/32/253_2.png) [@BarryCarlyon](https://staging-discuss.dev.twitch.com/u/BarryCarlyon)\
**Post date:** [March 8, 2021, 5:06pm UTC](https://staging-discuss.dev.twitch.com/t/clips-showing-slowly/30756/6 "2021-03-08T17:06:31Z")

</div>

> [@softwareengineer](#):
>
> you please tell me that if I use embed api then how I can play only clip instead of full video.

> **[Video & Clips](https://dev.twitch.tv/docs/embed/video-and-clips/)**
>
> Embedding Video and Clips

uses the “non interative” mode, sorry, not the JS logic (my monday pre coffee answer). Everywhere doesn’t do clips either.

So yeah it’s “many dumb” iFrames, but if you are building a player where you pick a clip to play you can dispaly a list and just use JS to swap the URL, but that should perform better than having many iFrames on the page.

---

<div class="post-metadata">

**Author:** ![softwareengineer](https://d1d6mrmdu7ztse.cloudfront.net/user_avatar/staging-discuss.dev.twitch.com/softwareengineer/32/11667_2.png) [@softwareengineer](https://staging-discuss.dev.twitch.com/u/softwareengineer)\
**Post date:** [March 8, 2021, 6:02pm UTC](https://staging-discuss.dev.twitch.com/t/clips-showing-slowly/30756/7 "2021-03-08T18:02:43Z")

</div>

@BarryCarlyon  
I’m using Non-Interactive IFrames for Clips in a dynamic way but they are very slow. Firstly player will show the blank and after few seconds it shows the clip. That’s the issue. But if I use Interactive Frames for VODs then it works fine.  
Is this slow speed is from the Twitch side?

---

<div class="post-metadata">

**Author:** ![BarryCarlyon](https://d1d6mrmdu7ztse.cloudfront.net/user_avatar/staging-discuss.dev.twitch.com/barrycarlyon/32/253_2.png) [@BarryCarlyon](https://staging-discuss.dev.twitch.com/u/BarryCarlyon)\
**Post date:** [March 9, 2021, 2:39pm UTC](https://staging-discuss.dev.twitch.com/t/clips-showing-slowly/30756/8 "2021-03-09T14:39:19Z")

</div>

> [@softwareengineer](#):
>
> Is this slow speed is from the Twitch side?

It would seem so. Clips just take longer to load compared to Vods

> [@BarryCarlyon](#):
>
> Might also be raising a [bug report](https://github.com/twitchdev/issues/issues) or [feature request](https://twitch.uservoice.com/forums/310213-developers) to request improvements. if you can’t make any improvements after apply some basics/alternative.

Might wanna raise a bug or feature request like I already advised.

---

<div class="post-metadata">

**Author:** ![system](https://d2spem0quai2ol.cloudfront.net/original/2X/0/05909729875cce3b53e59d5561c4d23bb14948fc.png) [@system](https://staging-discuss.dev.twitch.com/u/system)\
**Post date:** [April 8, 2021, 2:39pm UTC](https://staging-discuss.dev.twitch.com/t/clips-showing-slowly/30756/9 "2021-04-08T14:39:23Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
