# Embedded player function return undefined

**URL:** <https://discuss.dev.twitch.com/t/embedded-player-function-return-undefined/9530>\
**Category:** API\
**Created:** [March 5, 2017, 3:37pm UTC](https://discuss.dev.twitch.com/t/embedded-player-function-return-undefined/9530 "2017-03-05T15:37:45Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bloodstein](https://avatars.discourse-cdn.com/v4/letter/b/e95f7d/32.png) [@Bloodstein](https://discuss.dev.twitch.com/u/Bloodstein)\
**Post date:** [March 5, 2017, 3:37pm UTC](https://discuss.dev.twitch.com/t/embedded-player-function-return-undefined/9530/1 "2017-03-05T15:37:45Z")

</div>

Hi,  
Don’t know if this is the correct place but i couldn’t find an apropriate one.

When calling player.getQuality() on the embedded player it returns undefined instead of returning the quality string.

All other player functions work fine at least the one i tested but i can’t get this one to work.

---

<div class="post-metadata">

**Author:** ![Bloodstein](https://avatars.discourse-cdn.com/v4/letter/b/e95f7d/32.png) [@Bloodstein](https://discuss.dev.twitch.com/u/Bloodstein)\
**Post date:** [March 7, 2017, 5:23pm UTC](https://discuss.dev.twitch.com/t/embedded-player-function-return-undefined/9530/2 "2017-03-07T17:23:50Z")

</div>

Bump

---

<div class="post-metadata">

**Author:** ![DallasNChains](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/dallasnchains/32/1608_2.png) [@DallasNChains](https://discuss.dev.twitch.com/u/DallasNChains)\
**Post date:** [March 7, 2017, 5:27pm UTC](https://discuss.dev.twitch.com/t/embedded-player-function-return-undefined/9530/3 "2017-03-07T17:27:08Z")

</div>

Are you using the interactive embed? This works fine for me. Make sure you still have the player instance available from when you initialized it.

![](https://d2opxh93rbxzdn.cloudfront.net/original/2X/6/6b396aa749d9e00e232cf1137c98f46e56235fcc.png)

---

<div class="post-metadata">

**Author:** ![Bloodstein](https://avatars.discourse-cdn.com/v4/letter/b/e95f7d/32.png) [@Bloodstein](https://discuss.dev.twitch.com/u/Bloodstein)\
**Post date:** [March 7, 2017, 6:03pm UTC](https://discuss.dev.twitch.com/t/embedded-player-function-return-undefined/9530/4 "2017-03-07T18:03:07Z")

</div>

yea that was the problem got it to work, one more thing is there a function to clip?

---

<div class="post-metadata">

**Author:** ![DallasNChains](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/dallasnchains/32/1608_2.png) [@DallasNChains](https://discuss.dev.twitch.com/u/DallasNChains)\
**Post date:** [March 7, 2017, 8:50pm UTC](https://discuss.dev.twitch.com/t/embedded-player-function-return-undefined/9530/5 "2017-03-07T20:50:24Z")

</div>

There isn’t a function to Clip, unfortunately. Sorry!

---

<div class="post-metadata">

**Author:** ![system](https://d2opxh93rbxzdn.cloudfront.net/original/2X/0/05909729875cce3b53e59d5561c4d23bb14948fc.png) [@system](https://discuss.dev.twitch.com/u/system)\
**Post date:** [April 6, 2017, 8:50pm UTC](https://discuss.dev.twitch.com/t/embedded-player-function-return-undefined/9530/6 "2017-04-06T20:50:24Z")

</div>

Closed on April 6, 2017, 8:50pm UTC

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