PDA

View Full Version : Forum Display Enhancements - Justin.tv Live Stream BB Code


CodCom
08-07-2011, 10:00 PM
The following BB Code will allow you to embed live streams from Justin.tv (http://justin.tv).

To add a new BB Code: AdminCP --> Custom BB Codes --> BB Code Manager or Add New BB Code

Title: Justin.tv BB Code

BB Code Tag Name: JTV

Replacement:

<object type="application/x-shockwave-flash" height="385" width="640" id="live_embed_player_flash" data="http://www.justin.tv/widgets/live_embed_player.swf?channel={param}" bgcolor="#000000"><param name="allowFullScreen" value="true" /><param name="allowScriptAccess" value="always" /><param name="allowNetworking" value="all" /><param name="movie" value="http://www.justin.tv/widgets/live_embed_player.swf" /><param name="flashvars" value="hostname=www.justin.tv&channel={param}&auto_play=false&start_volume=25" /></object>

Note: You can adjust the height and width if needed.

Example: CodCom

Description: BB Code for embedding Justin.tv Live Stream

Use {option}: No

Remove Tag If Empty: Yes
Disable BB Code Within This BB Code: Yes
Disable Smilies Within This BB Code : Yes
Disable Word Wrapping Within This BB Code: Yes
Disable Automatic Link Parsing Within This BB Code: Yes

I hope this will help anyone out who's wondering how to embed a Justin.tv live stream into their vBulletin 4.X.X forum.

GameOverViper
09-01-2011, 09:05 PM
The following BB Code replacement may not be properly formed. All HTML attributes should be enclosed within double quotes.

<object type="application/x-shockwave-flash" height="385" width="640" id="live_embed_player_flash" data="http://www.justin.tv/widgets/live_embed_player.swf?channel={param}" bgcolor="#000000"><param name="allowFullScreen" value="true" /><param name="allowScriptAccess" value="always" /><param name="allowNetworking" value="all" /><param name="movie" value="http://www.justin.tv/widgets/live_embed_player.swf" /><param name="flashvars" value="hostname=www.justin.tv&channel={param}&auto_play=false&start_volume=25" /></object>

wilford brimley
04-17-2012, 03:22 AM
you can edit this BBcode and put {param} like "{param}" and it will kind of work in a post preview but when you submit the post it gives you an error and doesnt work.

tmhazzazi
05-16-2012, 03:06 PM
it gives error

Treeleaf
06-15-2012, 02:39 AM
Has anyone had success with this code?