![]() |
[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> 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.) |
bah i just updated my original release
|
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! |
Admins can delete this if they want... Seems like Rickie3 updated his hack couple of hours later than I posted this one. :)
|
This doesn't seem to work for me, all I get is a black screen.
http://www.throttlejockey.co.uk/foru...9733#post29733 |
My mistake, I'd omitted the - before the digits.
|
Just a thought, does this method use more of your bandwidth ?
|
Quote:
|
i dont know much coding but is there a way to edit it so it plays auto with no sound?
|
cheers, added still to test it lol
|
This rocks thanks :)
|
Thank you, very simple.
**clicks install** Quote:
|
How would you make it so that the gv shows up in the default BB Code line on the thread editor?
|
I'm just getting black screens.
|
Quote:
Anyway, you have to upload the attached image to your server first. Then go to AdminCP and Custom BB Codes --> BB Code Manager. Then edit the "Google Video" BBcode and add the right path to the image you just uploaded for the "Button Image (Optional)" field. |
Quote:
Here's a little example how you should add the "code": Example #1 Link to Google video: http://video.google.com/videoplay?do...73580166301634 Just copy that big number code and add it between the [gv] tag like this: [gv]566073580166301634[/gv] Example #2 Link to Google video: http://video.google.com/videoplay?do...05241957167536 You have to notice the little "-" mark before the numbers in this video. There are sometimes that little "-" in some videos. You have to include that too. I made same mistakes before too with that and got black screens. Copy that big number code (and remember to include that little "-" in front of the numbers) and add it between the [gv] tag like this: [gv]-1457005241957167536[/gv] |
It worked Stifmeister2! Awesome!
|
Oooo this one is more secure than my BB code for flash!!!
Loved it, thanks! |
Quote:
|
i have installed for youtube
can i add for google in same? how? guide step by step plz |
Quote:
|
i know that
but if possible with single bcode for both googlevideo and youtube ? if it is possible then better to keep single radher then double bbcodes and buttons also |
Damn I don't think it's possible. :( I don't see how this could be done. ..
|
<a href="https://vborg.vbsupport.ru/showthread.php?t=147906" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=147906</a>
have u checked this? |
Quote:
|
All times are GMT. The time now is 04:57 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|