Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
video bbcodes Details »»
video bbcodes
Version: 1.00, by jesus likes pie jesus likes pie is offline
Developer Last Online: Jul 2013 Show Printable Version Email this Page

Version: 3.5.0 Rating:
Released: 10-17-2005 Last Update: Never Installs: 29
 
No support by the author.

Alright, wasn't too sure where to put this, but I think that plugin best describes it since all you need is access to Admin CP.

This is a simple bbcode that adds two tags. [video] and [video2]. One works for certain formats, the other works for another.

EXAMPLE:

http://videos.streetfire.net/iPlayer...9-5CB546FFE7DA

that would be wrapped around [video2] tags.

On the other hand,
http://movies.apple.com/movies/unive...oney_h.480.mov
would be wrapped around [video] tags.

You'll figure it out, if it doesn't work with one, use the other. It's not hard. At all.

2 Demos:
http://ugforums.org/forum/showpost.p...53&postcount=1
http://ugforums.org/forum/showpost.p...0&postcount=22

Oh and, if you use the [video] tag with WMP, double clicking goes full screen


BBCODES:

Title: Video
Tag: video
Replacment:

HTML Code:
<small><b>Video:</b></small><br /> <div style="border: 1px dashed gray; padding: 1px;"><div><button type="button" class="button" onclick="this.parentNode.parentNode.childNodes[1].style.display = ''; this.parentNode.style.display = 'none';" title="Click to show the video.">show video</button></div><div id="spoiler" style="display: none;"><embed src="{param}" width=470 height=375 autostart=false loop=false align=center></div></div>
-----------------------------------------------------------------

Title: Video 2
tag: video2
Replacment:

HTML Code:
<small><b>Video:</b></small><br /> <div style="border: 1px dashed gray; padding: 1px;"><div><button type="button" class="button" onclick="this.parentNode.parentNode.childNodes[1].style.display = ''; this.parentNode.style.display = 'none';" title="Click to show the video.">show video</button></div><div id="spoiler" style="display: none;"><IFRAME SRC="{param}" WIDTH="470" HEIGHT="375" FRAMEBORDER="0" MARGINWIDTH="0" SCROLLING="no"></IFRAME></div></div>

Enjoy, and please click install

Show Your Support

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

Comments
  #22  
Old 06-22-2006, 01:41 AM
cashpath cashpath is offline
 
Join Date: Jul 2003
Posts: 216
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Could this be modified so that you can also add a link to a thumbnail image in each one instead of just the 'show Video' button?

If so could someone tell me how?
Reply With Quote
  #23  
Old 07-22-2006, 11:11 PM
peterska2 peterska2 is offline
 
Join Date: Oct 2003
Location: Manchester, UK
Posts: 6,504
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Please note: the author is no longer supporting this modification.
Reply With Quote
Reply


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 10:48 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.03600 seconds
  • Memory Usage 2,215KB
  • Queries Executed 17 (?)
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
  • (2)bbcode_html
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (3)post_thanks_box
  • (3)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (3)post_thanks_postbit_info
  • (2)postbit
  • (3)postbit_onlinestatus
  • (3)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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete