MyBB Community Forums

Full Version: Twitch direct video on forum.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'm looking for a way to get a twitch.tv channel on my forum.

Webiste: www.1operators.com
Account: test, pass: test123

In the same way you put Youtube videos in.

I've found this thread, but can't figure out how to do it. Or even where to look.
http://community.mybb.com/thread-134667.html

Help will be appreciated!

Thanks in advance,
Vivi
you can try following this guidance to use such codes => MyCode
Nice Smile

I've made the MyCode, so in theory when I use \[twitch\](.*?)\[/twitch\] in my text box for a new thread, and include a twitch.tv link in (.*?), it should work?

Because I'm not seeing anything at this time ..
that MyCode using method is like this
[twitch]video link from twitch[/twitch]

Edit:

[twitch]twitch channel name[/twitch]

see also MyCode examples
Strangely enough I when I use [twitch]http://www.twitch.tv/operator_vivi[/twitch] I do get the video link, but when I click play nothing shows.

Also when I click the big play button in the middle, it directs me to a broken link.

Any idea?

Here's the forum link to the post: http://www.1operators.com/showthread.php...263#pid263
This is the actual code I'm using in MyCode:

<object type="application/x-shockwave-flash" height=600" width="800" id="live_embed_player_flash" data="http://www.twitch.tv/widgets/live_embed_player.swf?channel=$1" bgcolor="#000000"><param name="allowFullScreen" value="true" /><param name="allowScriptAccess" value="always" /><param name="allowNetworking" value="all" /><param name="movie" value="http://www.twitch.tv/widgets/live_embed_player.swf" /><param name="flashvars" value="hostname=www.twitch.tv&channel=$1&auto_play=false&start_volume=25" /></object><a href="http://www.twitch.tv/$1" class="trk" style="padding:2px 0px 4px; display:block; width:800px; font-weight:normal; font-size:10px; text-decoration:underline; text-align:center;">Watch live video from $1 on www.twitch.tv</a>
Also the error code link is abit weird: http://www.twitch.tv/http://www.twitch.tv/operator_vivi

Page is saying: I'M SORRY, THAT PAGE IS IN ANOTHER CASTLE! Meaning it doesn't exist I suppose.
Quote:Just put your channel name between the opening and closing MyCode Tags
so your code in the post should be like below
[twitch]operator_vivi[/twitch]
You are correct, it's fixed thank you Smile