vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Forum Display Enhancements - Justin.tv Live Stream BB Code (https://vborg.vbsupport.ru/showthread.php?t=268181)

CodCom 08-07-2011 10:00 PM

Justin.tv Live Stream BB Code
 
1 Attachment(s)
The following BB Code will allow you to embed live streams from 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:

Code:

<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: [JTV]CodCom[/JTV]

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.

Code:

  <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?


All times are GMT. The time now is 09:14 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01009 seconds
  • Memory Usage 1,719KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete