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
  #2  
Old 10-18-2005, 12:14 AM
jesus likes pie jesus likes pie is offline
 
Join Date: Apr 2005
Posts: 342
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just wanted to add that this doens't work well on macs. it actually downloads the video rather than playing it in the browser.
Reply With Quote
  #3  
Old 10-18-2005, 12:49 AM
Daniel's Avatar
Daniel Daniel is offline
 
Join Date: Jul 2005
Location: USA
Posts: 707
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have a mac. Damn.
Reply With Quote
  #4  
Old 10-18-2005, 12:55 AM
jesus likes pie jesus likes pie is offline
 
Join Date: Apr 2005
Posts: 342
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I tested it out on my school's Safari browser using a mac mini. Don't know if it might work with other Mac browsers. maybe worth a try on one of the demos I linked.

And to add to that, I tested it out on a .wmv (windows media player etxension), so it might work if it's a quicktime movie. Such as the trailer I linked to in the first demo link.

:ermm:
Reply With Quote
  #5  
Old 10-18-2005, 04:32 AM
rb290's Avatar
rb290 rb290 is offline
 
Join Date: Oct 2005
Posts: 333
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

what do you put in for all fields, and what you leave blank
Reply With Quote
  #6  
Old 10-18-2005, 10:07 AM
jesus likes pie jesus likes pie is offline
 
Join Date: Apr 2005
Posts: 342
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

what do you mean? I gave out all the needed info...description is not needed, use option should be left at no, and there is no image, unless you make one yourself.
Reply With Quote
  #7  
Old 10-18-2005, 12:21 PM
nexialys
Guest
 
Posts: n/a
Default

it is downloading the files when the films are .wmv or other Windows medias... because there is no plugin in the Mac browser to play them directly... so there is no link with the bbcode itself...
Reply With Quote
  #8  
Old 10-18-2005, 05:56 PM
auz1111's Avatar
auz1111 auz1111 is offline
 
Join Date: Nov 2002
Location: columbia, sc
Posts: 134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am using internet explorer. when i use the [video] tag it won't play .mpg. When I use [video2] it pops up windows media player as soon as i click into the post.

anyway to stop it from doing that. And it would be easier if we knew what tag worked for which extension.
Reply With Quote
  #9  
Old 10-18-2005, 07:11 PM
jesus likes pie jesus likes pie is offline
 
Join Date: Apr 2005
Posts: 342
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

auz, the [video] tag plays stuff that is already, say, integrated into a page. You will probably use it less often. use [video2] when the url of the video ends in a video file extension.

I probably should have named [video2] into [video] since it's used more. Feel free to do that. It won;t break anything.

As for it popping up, I don't recall what mpg is used for...I really should, but I just can't remember right now. Can you give me the link of the video and I can try it on my forums/computer.

Normally, when a player pops up rather than integrating, it means that you have not installed the player to work with your browser. As I said, if you could give it to me it would be great.

For example, right now I'm at my mom's computer, she doesn't have quicktime, so the first example that I gave isn't working on her computer. It's a case by case scenario that makes it not work.
Reply With Quote
  #10  
Old 10-20-2005, 07:59 PM
unknowngiver unknowngiver is offline
 
Join Date: Jul 2005
Posts: 121
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there a way to make it so ONLY admins can post these stuff
...even better if only I [1 admin] can post it :P
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 04:46 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.05013 seconds
  • Memory Usage 2,289KB
  • Queries Executed 23 (?)
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
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (9)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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete