# Can I create an extension with more than one panel of the same kind that show different html files?

**URL:** <https://staging-discuss.dev.twitch.com/t/can-i-create-an-extension-with-more-than-one-panel-of-the-same-kind-that-show-different-html-files/21867>\
**Category:** Extensions\
**Created:** [July 18, 2019, 8:54pm UTC](https://staging-discuss.dev.twitch.com/t/can-i-create-an-extension-with-more-than-one-panel-of-the-same-kind-that-show-different-html-files/21867 "2019-07-18T20:54:21Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![retro](https://avatars.discourse-cdn.com/v4/letter/r/4491bb/32.png) [@retro](https://staging-discuss.dev.twitch.com/u/retro)\
**Post date:** [July 18, 2019, 8:54pm UTC](https://staging-discuss.dev.twitch.com/t/can-i-create-an-extension-with-more-than-one-panel-of-the-same-kind-that-show-different-html-files/21867/1 "2019-07-18T20:54:21Z")

</div>

Hi,

I would like to know if I can have more than one url for panel or video component extensions.

Say I want to have two panels that show completely different things, will I be able to have panel1.html and panel2.html?

How can I achieve this? thank you

---

<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:** [July 18, 2019, 11:30pm UTC](https://staging-discuss.dev.twitch.com/t/can-i-create-an-extension-with-more-than-one-panel-of-the-same-kind-that-show-different-html-files/21867/2 "2019-07-18T23:30:55Z")

</div>

> [@retro](#):
>
> I would like to know if I can have more than one url for panel or video component extensions.
> 
> Say I want to have two panels that show completely different things, will I be able to have panel1.html and panel2.html?

No.

You’d have to use JavaScript to determine which html template to show, but from only one HTML file.

You can’t use/switch between two or more HTML files like you initially describe.

---

<div class="post-metadata">

**Author:** ![retro](https://avatars.discourse-cdn.com/v4/letter/r/4491bb/32.png) [@retro](https://staging-discuss.dev.twitch.com/u/retro)\
**Post date:** [July 19, 2019, 12:24am UTC](https://staging-discuss.dev.twitch.com/t/can-i-create-an-extension-with-more-than-one-panel-of-the-same-kind-that-show-different-html-files/21867/3 "2019-07-19T00:24:23Z")

</div>

Ok, thank you

---

<div class="post-metadata">

**Author:** ![retro](https://avatars.discourse-cdn.com/v4/letter/r/4491bb/32.png) [@retro](https://staging-discuss.dev.twitch.com/u/retro)\
**Post date:** [July 19, 2019, 2:06pm UTC](https://staging-discuss.dev.twitch.com/t/can-i-create-an-extension-with-more-than-one-panel-of-the-same-kind-that-show-different-html-files/21867/4 "2019-07-19T14:06:44Z")

</div>

@BarryCarlyon but I _ **can** _ create two panels in the same extension, right? Or does it need to be two extensions if I want two panels (of the same kind)?

---

<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:** [July 19, 2019, 2:09pm UTC](https://staging-discuss.dev.twitch.com/t/can-i-create-an-extension-with-more-than-one-panel-of-the-same-kind-that-show-different-html-files/21867/5 "2019-07-19T14:09:12Z")

</div>

> [@retro](#):
>
> I _ **can** _ create two panels in the same extension

No an Extension can only have one Panel HTML Path.  
And an extension can only be installed to a single Panel Slot.

> [@retro](#):
>
> Or does it need to be two extensions if I want two panels (of the same kind)?

if you want to display two different panels at the same time you would need two extensions.

And a broadcaster would be unlikely to install the same extension twice as it would take up 2 of the 3 available panel slots

---

<div class="post-metadata">

**Author:** ![retro](https://avatars.discourse-cdn.com/v4/letter/r/4491bb/32.png) [@retro](https://staging-discuss.dev.twitch.com/u/retro)\
**Post date:** [July 19, 2019, 2:31pm UTC](https://staging-discuss.dev.twitch.com/t/can-i-create-an-extension-with-more-than-one-panel-of-the-same-kind-that-show-different-html-files/21867/6 "2019-07-19T14:31:50Z")

</div>

I there a way to request this feature? (in fact what I need is two video\_components even if they share the same html, not two panels, I had gotten that wrong)

---

<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:** [July 19, 2019, 4:07pm UTC](https://staging-discuss.dev.twitch.com/t/can-i-create-an-extension-with-more-than-one-panel-of-the-same-kind-that-show-different-html-files/21867/7 "2019-07-19T16:07:17Z")

</div>

We have been discussing panels not video components.

Swapping components to panels shares the same issue.

Broadcasters will probably not want to dedicate the 2 video component slots to a single extension.

You get

- one video overlay
- Two Component slots
- Three Panel slots.

if you need two component slots you should, probably, be considering going full vidoe overlay instead, which’ll let you use the whole canvas and divide up as you need, rather than consuming both slots.

You also need to be aware of the changes coming to video componenets at the end of the month

> [@Updating your Component Extension: Twitch Client Beta](https://staging-discuss.dev.twitch.com/t/updating-your-component-extension-twitch-client-beta/21549):
>
> Testing the new Extension Sidebar and component Extension user experience is now available on [Twitch.tv](http://Twitch.tv)! By following the steps below, you can now develop and test your video Extension within the new video Extension UI framework. You can manage the updated component sizing fields in your [dev.twitch.tv](http://dev.twitch.tv) console and you may submit an updated version of your Extension at any point ahead of the July 31 full roll out of the updated experience to all users. More information about what is changing and …

> [@Changes Coming to Component Extensions and How to Update](https://staging-discuss.dev.twitch.com/t/changes-coming-to-component-extensions-and-how-to-update/21201/):
>
> Update (2019/05/28): Here is @Diogee from last week’s Monthly Developer Update to talk more about the updates. Following [a recent RFC](https://staging-discuss.dev.twitch.com/t/rfc-0012-component-extension-redesign/21072), there are significant changes coming to the way streamers and viewers install, find, and interact with component Extensions. In short, we are standardizing where component Extensions live on the channel and how viewers will interact with them. Starting on July 15, 2019 in late July, components will live inside of an Extensions Sidebar on the channel page. For …

Which will likely change what you are trying to do.

Why do you need Two Video Components?
