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

Reply
 
Thread Tools
[BB Code] Google video Details »»
[BB Code] Google video
Version: 1.00, by Stifmeister2 Stifmeister2 is offline
Developer Last Online: Jun 2011 Show Printable Version Email this Page

Version: 3.5.4 Rating:
Released: 07-03-2006 Last Update: 08-08-2006 Installs: 25
 
No support by the author.

This is a simple BB code which allows you to display Google videos.

Installation:

Go to 'Custom BB Codes' -> 'Add New BB Code'

Title: Google Video
Tag: gv
Replacement:
Code:
<embed style="width:400px; height:326px;" id="VideoPlayback" align="middle" type="application/x-shockwave-flash" src="http://video.google.com/googleplayer.swf?docId={param}" allowScriptAccess="sameDomain" quality="best" bgcolor="#ffffff" scale="noScale" salign="TL"  FlashVars="playerMode=embedded"> </embed>
Example: [gv]8719729790252878017[/gv]
Description: Allows you to display Google videos. Simply add the video ID inside the tag.
Use {option}: No

OPTIONAL STEP
Button Image (Optional): [enter the url to the attached pic you uploaded]

And "Save".


This was not my idea, I just noticed a recently posted hack which didn't work so I thought I'd make one that actually works. (At least worked for me, tested with three different videos.)

Supporters / CoAuthors

Show Your Support

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

Comments
  #2  
Old 07-03-2006, 11:26 PM
Rickie3's Avatar
Rickie3 Rickie3 is offline
 
Join Date: Nov 2004
Location: Australia/Tasmania
Posts: 770
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

bah i just updated my original release
Reply With Quote
  #3  
Old 07-04-2006, 07:21 AM
xtremeteam's Avatar
xtremeteam xtremeteam is offline
 
Join Date: Apr 2006
Location: jax fl
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

how do you get the video ID?

EDIT n/m got it lol
view page source at the bottom>
var TAG_DISPLAY_URI = "/tags";
var did = "-2992183880068262304";

works great thanks!
Reply With Quote
  #4  
Old 07-04-2006, 12:06 PM
Stifmeister2 Stifmeister2 is offline
 
Join Date: Feb 2006
Location: Finland
Posts: 755
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Admins can delete this if they want... Seems like Rickie3 updated his hack couple of hours later than I posted this one.
Reply With Quote
  #5  
Old 07-04-2006, 08:07 PM
AndyA AndyA is offline
 
Join Date: Apr 2005
Posts: 188
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This doesn't seem to work for me, all I get is a black screen.

http://www.throttlejockey.co.uk/foru...9733#post29733
Reply With Quote
  #6  
Old 07-04-2006, 08:14 PM
AndyA AndyA is offline
 
Join Date: Apr 2005
Posts: 188
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

My mistake, I'd omitted the - before the digits.
Reply With Quote
  #7  
Old 07-04-2006, 08:20 PM
AndyA AndyA is offline
 
Join Date: Apr 2005
Posts: 188
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just a thought, does this method use more of your bandwidth ?
Reply With Quote
  #8  
Old 07-04-2006, 11:24 PM
Stifmeister2 Stifmeister2 is offline
 
Join Date: Feb 2006
Location: Finland
Posts: 755
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by AndyA
Just a thought, does this method use more of your bandwidth ?
Server bandwidth? No I don't think so as the videos are loaded from Google site...
Reply With Quote
  #9  
Old 07-09-2006, 11:24 AM
xtremeteam's Avatar
xtremeteam xtremeteam is offline
 
Join Date: Apr 2006
Location: jax fl
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i dont know much coding but is there a way to edit it so it plays auto with no sound?
Reply With Quote
  #10  
Old 07-12-2006, 03:43 PM
ktp101 ktp101 is offline
 
Join Date: Jan 2006
Posts: 40
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

cheers, added still to test it lol
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 02:51 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.06045 seconds
  • Memory Usage 2,290KB
  • 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
  • (1)bbcode_code
  • (1)bbcode_quote
  • (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
  • (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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete