Twitch.tv integration

Get help developing custom BBCodes or request one.
Post Reply
Danniella
Registered User
Posts: 3
Joined: Fri Jun 15, 2018 8:52 pm
Name: Danniella Boysen
Contact:

Twitch.tv integration

Post by Danniella » Fri Jun 15, 2018 9:50 pm

I have searched everywhere, but nobody seems to know how to embed twitch.tv livestream on my phpbb board.

I hope this is the right forum. Any help is appreciated :)
Love my phpBoard

User avatar
Mick
Support Team Member
Support Team Member
Posts: 19545
Joined: Fri Aug 29, 2008 9:49 am
Location: Cardiff

Re: Twitch.tv integration

Post by Mick » Sat Jun 16, 2018 7:30 am

A link to a video would help.
"The more connected we get the more alone we become" - Kyle Broflovski

There are no ‘threads’ in phpBB, they are topics.

User avatar
Mannix_
Registered User
Posts: 279
Joined: Sun Oct 25, 2015 2:56 pm
Contact:

Re: Twitch.tv integration

Post by Mannix_ » Sat Jun 16, 2018 3:52 pm

Try this

Code: Select all

[twitch]{SIMPLETEXT}[/twitch]

Code: Select all

<iframe src="https://player.twitch.tv/?channel={SIMPLETEXT}" frameborder="0" allowfullscreen="true" scrolling="no" height="378" width="620"></iframe>
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
My CDB contributions . Like my work? Want me to do make a style just for you? PM here or on twitter.
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Need some graphics? PM here or on twitter.

Danniella
Registered User
Posts: 3
Joined: Fri Jun 15, 2018 8:52 pm
Name: Danniella Boysen
Contact:

Re: Twitch.tv integration

Post by Danniella » Sat Jun 16, 2018 10:19 pm

Mannix_ wrote:
Sat Jun 16, 2018 3:52 pm
Try this

Code: Select all

[twitch]{SIMPLETEXT}[/twitch]

Code: Select all

<iframe src="https://player.twitch.tv/?channel={SIMPLETEXT}" frameborder="0" allowfullscreen="true" scrolling="no" height="378" width="620"></iframe>
As simple as an iframe... thx alot... works like a charm!
Love my phpBoard

Toxyy
Registered User
Posts: 454
Joined: Mon Oct 24, 2016 3:22 pm

Re: Twitch.tv integration

Post by Toxyy » Sun Jun 17, 2018 2:33 am

Mannix_ wrote:
Sat Jun 16, 2018 3:52 pm
Try this

Code: Select all

[twitch]{SIMPLETEXT}[/twitch]

Code: Select all

<iframe src="https://player.twitch.tv/?channel={SIMPLETEXT}" frameborder="0" allowfullscreen="true" scrolling="no" height="378" width="620"></iframe>
Every time I see iframes I feel a little off. Is there no better modern solution? Web sockets maybe?
I am a web developer/administrator, specializing in forums. If you have work you need done or are too lazy to do, pm me!

User avatar
JoshyPHP
Code Contributor
Posts: 942
Joined: Mon Jul 11, 2011 12:28 am

Re: Twitch.tv integration

Post by JoshyPHP » Sun Jun 17, 2018 3:46 am

Danniella wrote:
Fri Jun 15, 2018 9:50 pm
I have searched everywhere, but nobody seems to know how to embed twitch.tv livestream on my phpbb board.
Don't create a BBCode and install this extension, I'm about 80% certain it will work with live channels as well as VODs: https://www.phpbb.com/customise/db/exte ... ediaembed/
Toxyy wrote:
Sun Jun 17, 2018 2:33 am
Every time I see iframes I feel a little off. Is there no better modern solution? Web sockets maybe?
I think that what you're describing is reimplementing Twitch's player locally.
I wrote the thing that does BBCodes in 3.2.

Post Reply

Return to “Custom BBCode Development and Requests”

Who is online

Users browsing this forum: No registered users and 10 guests