vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=155)
-   -   [BB Code] Google video (https://vborg.vbsupport.ru/showthread.php?t=120275)

Stifmeister2 07-03-2006 10:00 PM

[BB Code] Google video
 
This is a simple BB code which allows you to display Google videos. :cool:

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. :cool: (At least worked for me, tested with three different videos.)

Rickie3 07-03-2006 11:26 PM

bah i just updated my original release

xtremeteam 07-04-2006 07:21 AM

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!

Stifmeister2 07-04-2006 12:06 PM

Admins can delete this if they want... Seems like Rickie3 updated his hack couple of hours later than I posted this one. :)

AndyA 07-04-2006 08:07 PM

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

http://www.throttlejockey.co.uk/foru...9733#post29733

AndyA 07-04-2006 08:14 PM

My mistake, I'd omitted the - before the digits.

AndyA 07-04-2006 08:20 PM

Just a thought, does this method use more of your bandwidth ?

Stifmeister2 07-04-2006 11:24 PM

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

xtremeteam 07-09-2006 11:24 AM

i dont know much coding but is there a way to edit it so it plays auto with no sound?

ktp101 07-12-2006 03:43 PM

cheers, added still to test it lol


All times are GMT. The time now is 11:12 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.03722 seconds
  • Memory Usage 1,728KB
  • 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
  • (1)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete