Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons

Reply
 
Thread Tools
Livestream BBCode Details »»
Livestream BBCode
Version: 1.2.1, by Nano_ Nano_ is offline
Developer Last Online: Jul 2017 Show Printable Version Email this Page

Category: BB Code Enhancements - Version: 4.1.5 Rating:
Released: 05-30-2010 Last Update: Never Installs: 14
Re-useable Code Translations Is in Beta Stage  
No support by the author.

This BBCode allows embedded Livestream videos in your forums with HTML off.


Working Demo: http://live.egaming.com.br/

Instructions:
Go to your AdminCP > Custom BB Codes > Add New BB Code.

Title: Livestream BBCode
BB Code Tag Name: livestream
Replacement:
Code:
<div align="center">
<object width="560" height="340" id="lsplayer">
<param name="movie" value="http://cdn.livestream.com/grid/LSPlayer.swf?channel={option}&amp;clip="{param}"&amp;autoPlay=false">
</param>
<param name="allowScriptAccess" value="always"></param>
<param name="allowFullScreen" value="true"></param>
<embed name="lsplayer" wmode="transparent" src="http://cdn.livestream.com/grid/LSPlayer.swf?channel={option}&amp;clip="{param}"&amp;autoPlay=false" width="560" height="340" allowScriptAccess="always" allowFullScreen="true" type="application/x-shockwave-flash">
</embed>
</object>
</div>


Example
: [livestream=livebn]pla_af1b7a0f-cd90-4d22-81c0-e36535665ebd[/livestream]

When vB says "All HTML attributes should be enclosed within double quotes.", just click in "Continue".

If you have a fixed channel, use this code:
Title: Livestream YourChannel BBCode
BB Code Tag Name: yourchannel
Replacement:
Code:
<div align="center">
<object width="560" height="340" id="lsplayer">
<param name="movie" value="http://cdn.livestream.com/grid/LSPlayer.swf?channel=YourChannel&amp;clip="{param}"&amp;autoPlay=false">
</param>
<param name="allowScriptAccess" value="always"></param>
<param name="allowFullScreen" value="true"></param>
<embed name="lsplayer" wmode="transparent" src="http://cdn.livestream.com/grid/LSPlayer.swf?channel=YourChannel&amp;clip="{param}"&amp;autoPlay=false" width="560" height="340" allowScriptAccess="always" allowFullScreen="true" type="application/x-shockwave-flash">
</embed>
</object>
</div>
Change YourChannel to your channel in LiveStream.

Example: [yourchannel]pla_af1b7a0f-cd90-4d22-81c0-e36535665ebd[/yourchannel]


Description: Use this BBCode to embed Livestream videos.

Use {option}: YES
Remove Tag If Empty: NO
Disable BB Code Within This BB Code: YES
Disable Smilies Within This BB Code: YES
Disable Word Wrapping Within This BB Code: YES

{option} is a channel name (livebn in example)
Text inside bbcode is a clipId url (pla_af1b7a0f-cd90-4d22-81c0-e36535665ebd in example).


--

+ Know Bugs
- First click on center play open Livestream video at new tab/window.

+ Notes:
- Sorry for my poor english;
- I made this code because I needed it for my forums. I'm not a programmer.

Screenshots

File Type: png live code.png (3.9 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 05-31-2010, 07:22 PM
Nano_ Nano_ is offline
 
Join Date: May 2006
Location: Rio de Janeiro - Brasil
Posts: 45
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

1.1
!Fixed the "All HTML attributes should be enclosed within double quotes." error

1.2
+ !Player now works on 4.1.4.
+ For "All HTML attributes should be enclosed within double quotes." error, please see this post.
Reply With Quote
  #3  
Old 06-01-2010, 02:47 AM
Daniel_HBK Daniel_HBK is offline
 
Join Date: Feb 2006
Location: Egypt
Posts: 141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice Mod , thanks!
Reply With Quote
  #4  
Old 06-03-2010, 10:21 PM
jdelator jdelator is offline
 
Join Date: Oct 2007
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks
Reply With Quote
  #5  
Old 06-03-2010, 11:01 PM
your24hourstore your24hourstore is offline
 
Join Date: Feb 2010
Posts: 1,226
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

will it play my new video?
http://hillbillygold.com/forums/medi...gulf-oil-spill
Reply With Quote
  #6  
Old 06-04-2010, 12:33 AM
markwein markwein is offline
 
Join Date: Feb 2009
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

installed. works fine.
Reply With Quote
  #7  
Old 06-07-2010, 04:26 PM
vbgser vbgser is offline
 
Join Date: Feb 2010
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i have installed the widget, but i dont see in the forum the livestream embed option
Reply With Quote
  #8  
Old 06-07-2010, 05:02 PM
COL NIL SATIS COL NIL SATIS is offline
 
Join Date: Aug 2009
Location: Liverpool UK
Posts: 802
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Wow...this will be awesome for our site ...tagged
Reply With Quote
  #9  
Old 06-07-2010, 09:32 PM
Nano_ Nano_ is offline
 
Join Date: May 2006
Location: Rio de Janeiro - Brasil
Posts: 45
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by vbgser View Post
i have installed the widget, but i dont see in the forum the livestream embed option
Use bbcode [livestream].

Example [livestream=livebn]pla_af1b7a0f-cd90-4d22-81c0-e36535665ebd[/livestream]
Will play my "Live!" Channel in foruns.
Reply With Quote
  #10  
Old 06-23-2010, 08:25 PM
War.Frog's Avatar
War.Frog War.Frog is offline
 
Join Date: Aug 2009
Location: Ontario, Canada
Posts: 262
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just get this error message all the time when I try to create the BB code:


The following BB Code replacement may not be properly formed. All HTML attributes should be enclosed within double quotes.

Code:
<div align="center"> <object width="560" height="340" id="lsplayer"> <param name="movie" value="http://cdn.livestream.com/grid/LSPlayer.swf?channel={option}&amp;clip={param}&amp;autoPlay=false"></param> <param name="allowScriptAccess" value="always"></param> <param name="allowFullScreen" value="true"></param> <embed name="lsplayer" wmode="transparent" src="http://cdn.livestream.com/grid/LSPlayer.swf?channel={option}&amp;clip={param}&amp;autoPlay=false" width="560" height="340" allowScriptAccess="always" allowFullScreen="true" type="application/x-shockwave-flash"> </embed> </object> </div>
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:31 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07146 seconds
  • Memory Usage 2,316KB
  • Queries Executed 24 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (1)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete