Buddypress – Add Twitch Channel/Chat API

Hello community friends/devs!

I’m trying to figure out how I can utilize buddypress/Xprofile fields to utilize Twitch TV’s API embed.

Basically I need to create a field titled “Twitch Channel” – The user will enter his/her twitch tv channel name. This information will then be passed into the code below:

<iframe
src="http://player.twitch.tv/?channel={CHANNEL}"
height="720"
width="1280"
frameborder="0"
scrolling="no"
allowfullscreen>
</iframe>

I’d like to create a buddypress profile tab called “My Twitch Channel” and inside of that tab I’d like to embed this code. The buddypress field “Twitch Channel” will then be passed into the code and be unique for each persons profile.

Hope this makes sense. I think I’m making it much more complicated than it actually is.

Thanks for your help in advance!