# Multiple embedded stream twitch API

**URL:** <https://staging-discuss.dev.twitch.com/t/multiple-embedded-stream-twitch-api/20264>\
**Category:** API\
**Created:** [February 28, 2019, 6:22am UTC](https://staging-discuss.dev.twitch.com/t/multiple-embedded-stream-twitch-api/20264 "2019-02-28T06:22:00Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![LuckyNoS7evin](https://d1d6mrmdu7ztse.cloudfront.net/user_avatar/staging-discuss.dev.twitch.com/luckynos7evin/32/5036_2.png) [@LuckyNoS7evin](https://staging-discuss.dev.twitch.com/u/LuckyNoS7evin)\
**Post date:** [February 28, 2019, 10:12am UTC](https://staging-discuss.dev.twitch.com/t/multiple-embedded-stream-twitch-api/20264/8 "2019-02-28T10:12:35Z")

</div>

```auto
function changeChannel(chan) { 
var player = embed.getPlayer(); 
player.setChannel(chan); 
}

```

That’s what this bit does…

how are you thinking the change will be triggered?

---

_[View the full topic](https://staging-discuss.dev.twitch.com/t/multiple-embedded-stream-twitch-api/20264)._
