php forum
php mysql forum
php mysql smarty
 
Page 1 of 4 1 2 3 4 >
Topic Options
#312431 - 12/31/06 08:37 AM YouTube BB Code
chillin Offline
Journeyman

Registered: 01/26/03
Posts: 127
Loc: bend, OR USA
About
This mod add's a fancy little button to your Rich Text Panel button bar that when clicked prompts a user for a YouTube video code. The bbcode then imbeds the requisite html to display the YouTube video inline of the users post.

Credits
chillin

Files Altered
* /libs/ubbthreads.inc.php
* /templates/default/standard_text_editor.tpl
* /ubb_js/standard_text_editor.js

Files Added
youtube.gif

Directions
Backup your files first.
Upload the gif to your images/markup_panel/default/ directory
Follow instructions in the .txt file
rockband


Attachments
2327-YouTubeBBcode.txt (288 downloads)
2328-youtube.gif


_________________________
i see threads people
http://www.chinooktc.com

Top
#312438 - 12/31/06 01:22 PM Re: YouTube BB Code [Re: chillin]
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
cool, thanks laugh
_________________________
- Allen wavey
- What Drives You?

Top
#312442 - 12/31/06 05:38 PM Re: YouTube BB Code [Re: AllenAyres]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
Looks good, should also prove to be a good basepoint for anyone wanting to extend their bbcode functionality; thanks smile.
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#312443 - 12/31/06 07:53 PM Re: YouTube BB Code [Re: Gizmo]
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
You should probably replace
Code:
"#\[youtube\](.+?)\[/youtube\]#i"


with

Code:
"#\[youtube\]([a-zA-Z0-9]+)\[/youtube\]#i"


To prevent someone from getting creative with what they try to link to

Top
#312757 - 01/18/07 03:32 AM Re: YouTube BB Code [Re: Ian Spence]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
Google Video tag:
Code:
			array( "#\[googlevideo\]([a-zA-Z0-9-]+)\[/googlevideo\]#i", '<embed style="width:425px; height:350px;" id="VideoPlayback" type="application/x-shockwave-flash" src="http://video.google.com/googleplayer.swf?docId=\1&hl=en"></embed>' ),


Edited by Gizmo (01/19/07 05:50 PM)
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#312758 - 01/18/07 04:17 AM Re: YouTube BB Code [Re: Gizmo]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
I added some more lol...
Code:
			// Added UBBCode
			array( "#\[google\]([a-zA-Z0-9 ]+)\[/google\]#i", '<a href="http://www.google.com/custom?domains=www.undergroundnews.com&q=\1&sa=Search&sitesearch=&client=pub-5168900358893374&forid=1&channel=4984299912&ie=ISO-8859-1&oe=ISO-8859-1&cof=GALT%3A%238CA3D6%3BGL%3A1%3BDIV%3A%23666666%3BVLC%3A8CA3D6%3BAH%3Acenter%3BBGC%3A000000%3BLBGC%3A000000%3BALC%3AC0C0C0%3BLC%3AC0C0C0%3BT%3AFFFFFF%3BGFNT%3A8CA3D6%3BGIMP%3A8CA3D6%3BFORID%3A1&hl=en" target="_new">\1</a>' ),
			array( "#\[googleimages\]([a-zA-Z0-9 ]+)\[/googleimages\]#i", '<a href="http://images.google.com/images?sourceid=navclient-ff&ie=UTF-8&rls=GGGL,GGGL:2006-17,GGGL:en&q=\1" target="_new">\1</a>' ),
			array( "#\[froogle\]([a-zA-Z0-9 ]+)\[/froogle\]#i", '<a href="http://froogle.google.com/froogle?q=\1C&btnG=Search+Froogle" target="_new">\1</a>' ),
			array( "#\[pricegrabber\]([a-zA-Z0-9 ]+)\[/pricegrabber\]#i", '<a href="http://www.pricegrabber.com/search_getoffers.php?keyword=\1" target="_new">\1</a>' ),
			array( "#\[youtube\]([a-zA-Z0-9]+)\[/youtube\]#i", '<object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/\1"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/\1" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></object>' ),
			array( "#\[googlevideo\]([a-zA-Z0-9]+)\[/googlevideo\]#i", '<embed style="width:425px; height:350px;" id="VideoPlayback" type="application/x-shockwave-flash" src="http://video.google.com/googleplayer.swf?docId=\1&hl=en"></embed>' ),
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#312759 - 01/18/07 04:20 AM Re: YouTube BB Code [Re: Gizmo]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
I can't forget:
Code:
			array( "#\[wiki\]([a-zA-Z0-9 ]+)\[/wiki\]#i", '<a href="http://en.wikipedia.org/wiki/\1" target="_new">\1</a>' ),
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#312760 - 01/18/07 05:01 AM Re: YouTube BB Code [Re: Gizmo]
Ian_W Offline

Veteran

Registered: 02/22/02
Posts: 2575
Loc: England
Thanks guys.

you need some images for those wink
_________________________
Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....)

Top
#312761 - 01/18/07 05:09 AM Re: YouTube BB Code [Re: Ian_W]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
'eh I don't do images hehe... I implement features everyone will forget! wink...

The yahoo embed code is something odd... It embeds the id and author together seperated by a ".", and then it lists them both several times in the string... The video id is mentioned 4 times, and the author 3 times; butI can't quite get the regex right smirk
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#312762 - 01/18/07 05:10 AM Re: YouTube BB Code [Re: Gizmo]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
You know, I guess I could jack the images from the google toolbar for the google links for froogle/google images/google but it doesn't have google video yet
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#312763 - 01/18/07 06:47 AM Re: YouTube BB Code [Re: Gizmo]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
MySpace Video:
Code:
			array( "#\[myspacevideo\]([a-zA-Z0-9]+)\[/myspacevideo\]#i", '<embed src="http://lads.myspace.com/videos/vplayer.swf" flashvars="m=\1&type=video" type="application/x-shockwave-flash" width="425" height="350"></embed>' ),
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#312764 - 01/18/07 06:51 AM Re: YouTube BB Code [Re: Gizmo]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
Got Yahoo Video working; my god they're anal retentive...
Code:
			array( "#\[yahoovideo\]([a-zA-Z0-9 ]+).([a-zA-Z0-9]+)\[/yahoovideo\]#i", '<embed src="http://us.i1.yimg.com/cosmos.bcst.yahoo.com/player/media/swf/FLVVideoSolo.swf" flashvars="id=\2&emailUrl=http%3A%2F%2Fvideo.yahoo.com%2Futil%2Fmail%3Fei%3DUTF-8%26vid%3D\1.\2%26cache%3D1&imUrl=http%253A%252F%252Fvideo.yahoo.com%252Fvideo%252Fplay%253F%2526ei%253DUTF-8%2526vid%253D\1.\2%2526cache%253D1&imTitle=TreehuggerTV%253A%2BFreshtopia%2BTakes%2Bthe%2BLong%2BTrain&searchUrl=http://video.yahoo.com/video/search?p=&profileUrl=http://video.yahoo.com/video/profile?yid=&creatorValue=YmlwZWRiaXBlZA%3D%3D&vid=\1.\2" type="application/x-shockwave-flash" width="425" height="350"></embed>' ),
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#312765 - 01/18/07 08:14 AM Re: YouTube BB Code [Re: Gizmo]
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
What about picasa and flickr? smile
_________________________
- Allen wavey
- What Drives You?

Top
#312771 - 01/18/07 06:42 PM Re: YouTube BB Code [Re: AllenAyres]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
Originally Posted By: AllenAyres
What about picasa and flickr? smile
What about them do you want "ubbcoded"? I'll make any custom code, just need to know what you need cap'in!
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#312774 - 01/18/07 09:30 PM Re: YouTube BB Code [Re: Gizmo]
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
Nada I guess, a regular image tag should do it smile
_________________________
- Allen wavey
- What Drives You?

Top
#312777 - 01/19/07 02:11 AM Re: YouTube BB Code [Re: AllenAyres]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
I think flickr has a slideshow option; I think that photobucket does too; I think I may look into those as [flickrshow] and [bucketshow]

Not sure whatelse i can do, but feel free to lend opinions wink
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#312778 - 01/19/07 02:28 AM Re: YouTube BB Code [Re: Gizmo]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
Well, i signed up for a picasa web account, if i did make a custom tag it'd be kinda worthless imo, it'd require a user to post 90% of the path to the image, and they could do all that just with the image tag...

Code:
[picasa]moguai/RbCAWu1FEGI/AAAAAAAAAAo/uqyBEIFMAmE/413689385_l.jpg[/picasa]

-or-
Code:
[img]http://lh4.google.com/image/moguai/RbCAWu1FEGI/AAAAAAAAAAo/uqyBEIFMAmE/413689385_l.jpg[/img]


I don't thin it'd save too much time or allow for anything that the current tools would allow...

Now to find some slideshow sites!
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#312779 - 01/19/07 02:47 AM Re: YouTube BB Code [Re: Gizmo]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
Behold the PhotoBucket slideshow ubbcode:
Code:
			array( "#\[photobucket\]([a-zA-Z0-9/:.]+)\[/photobucket\]#i", '<object width="425" height="350"><embed type="application/x-shockwave-flash" wmode="transparent" src="http://w33.photobucket.com/pbwidget.swf?pbwurl=\1" height="350" width="425"></embed></object>' ),


The problem here is that you have to take the URL to the image from the embed line and not the "link to this page" line.

Example of usage:
Code:
[photobucket]http://w33.photobucket.com/albums/d51/moguai/Trey/1169195897.pbw[/photobucket]
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#312780 - 01/19/07 02:48 AM Re: YouTube BB Code [Re: Gizmo]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
I was thinking about making it shorter by hijacking the code they use for preview, but it woudln't really work any differant.
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#312781 - 01/19/07 02:55 AM Re: YouTube BB Code [Re: Gizmo]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
Anyone know of any photo services with slideshow generators which use flash?
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#312802 - 01/19/07 05:50 PM Re: YouTube BB Code [Re: Gizmo]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
Updated GoogleVideo class to allow "-" in video id's.
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#312817 - 01/19/07 11:54 PM Re: YouTube BB Code [Re: Gizmo]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
Well, all of my above ubbcode sections with & properly escaped:
Code:
			// Added UBBCode
			array( "#\[google\]([a-zA-Z0-9 ]+)\[/google\]#i", '<a href="http://www.google.com/custom?domains=www.undergroundnews.com&amp;q=\1&amp;sa=Search&amp;sitesearch=&amp;client=pub-5168900358893374&amp;forid=1&amp;channel=4984299912&amp;ie=ISO-8859-1&amp;oe=ISO-8859-1&amp;cof=GALT%3A%238CA3D6%3BGL%3A1%3BDIV%3A%23666666%3BVLC%3A8CA3D6%3BAH%3Acenter%3BBGC%3A000000%3BLBGC%3A000000%3BALC%3AC0C0C0%3BLC%3AC0C0C0%3BT%3AFFFFFF%3BGFNT%3A8CA3D6%3BGIMP%3A8CA3D6%3BFORID%3A1&amp;hl=en" target="_new">\1</a>' ),
			array( "#\[googlevideo\]([a-zA-Z0-9-]+)\[/googlevideo\]#i", '<embed style="width:425px; height:350px;" id="VideoPlayback" type="application/x-shockwave-flash" src="http://video.google.com/googleplayer.swf?docId=\1&amp;hl=en"></embed>' ),
			array( "#\[googleimages\]([a-zA-Z0-9 ]+)\[/googleimages\]#i", '<a href="http://images.google.com/images?sourceid=navclient-ff&amp;ie=UTF-8&amp;rls=GGGL,GGGL:2006-17,GGGL:en&amp;q=\1" target="_new">\1</a>' ),
			array( "#\[froogle\]([a-zA-Z0-9 ]+)\[/froogle\]#i", '<a href="http://froogle.google.com/froogle?q=\1C&amp;btnG=Search+Froogle" target="_new">\1</a>' ),
			array( "#\[pricegrabber\]([a-zA-Z0-9 ]+)\[/pricegrabber\]#i", '<a href="http://www.pricegrabber.com/search_getoffers.php?keyword=\1" target="_new">\1</a>' ),
			array( "#\[youtube\]([a-zA-Z0-9]+)\[/youtube\]#i", '<object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/\1"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/\1" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></object>' ),
			array( "#\[yahoovideo\]([a-zA-Z0-9]+).([a-zA-Z0-9 ]+)\[/yahoovideo\]#i", '<embed src="http://us.i1.yimg.com/cosmos.bcst.yahoo.com/player/media/swf/FLVVideoSolo.swf" flashvars="id=\2&amp;emailUrl=http%3A%2F%2Fvideo.yahoo.com%2Futil%2Fmail%3Fei%3DUTF-8%26vid%3D\1.\2%26cache%3D1&amp;imUrl=http%253A%252F%252Fvideo.yahoo.com%252Fvideo%252Fplay%253F%2526ei%253DUTF-8%2526vid%253D\1.\2%2526cache%253D1&amp;imTitle=TreehuggerTV%253A%2BFreshtopia%2BTakes%2Bthe%2BLong%2BTrain&amp;searchUrl=http://video.yahoo.com/video/search?p=&amp;profileUrl=http://video.yahoo.com/video/profile?yid=&amp;creatorValue=YmlwZWRiaXBlZA%3D%3D&amp;vid=\1.\2" type="application/x-shockwave-flash" width="425" height="350"></embed>' ),
			array( "#\[myspace\]([a-zA-Z0-9 ]+)\[/myspace\]#i", '<a href="http://www.myspace.com/\1" target="_new">\1</a>' ),
			array( "#\[myspacevideo\]([a-zA-Z0-9]+)\[/myspacevideo\]#i", '<embed src="http://lads.myspace.com/videos/vplayer.swf" flashvars="m=\1&amp;type=video" type="application/x-shockwave-flash" width="425" height="350"></embed>' ),
			array( "#\[loowa\]([a-zA-Z0-9@.]+)\[/loowa\]#i", '<a href="http://www.loowa.com/profile.php?email=\1" target="_new">\1</a>' ),
			array( "#\[loowavideo\]([a-zA-Z0-9]+)\[/loowavideo\]#i", '<embed src="http://update.videoegg.com/flash/player8.swf?jsver=1.3" FlashVars="file=http%3A//selfserve1.download.videoegg.com/gid353/cid1208/CZ/PW/1169094106KzyWvMT0WVB7S74rN6a2&amp;bgColor=000000&amp;autoPlay=false&amp;showAd=false&amp;adVars=&amp;pageURL=http%3A//www.loowa.com/video/\1&amp;allowFlash9Fullscreen=true" quality="high" allowFullScreen="true" allowScriptAccess="always" bgcolor="#000000" scale="noscale" wmode="window" width="425" height="350" name="VE_Player" align="middle" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>' ),
			array( "#\[wiki\]([a-zA-Z0-9 ]+)\[/wiki\]#i", '<a href="http://en.wikipedia.org/wiki/\1" target="_new">\1</a>' ),
			array( "#\[photobucket\]([a-zA-Z0-9/:.]+)\[/photobucket\]#i", '<object width="425" height="350"><embed type="application/x-shockwave-flash" wmode="transparent" src="http://w33.photobucket.com/pbwidget.swf?pbwurl=\1" height="350" width="425"></embed></object>' ),
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#312823 - 01/20/07 02:38 AM Re: YouTube BB Code [Re: Gizmo]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
A "podcast" (mp3 player really) ubb code tag is:
Code:
			array( "#\[podcast\]([a-zA-Z0-9-_.&:/]+)\[/podcast\]#i", '<embed src="http://www.undergroundnews.com/forum/MP3_Player/mp3player.swf" width="425" height="42" bgcolor="#000000" quality="low" menu="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" flashvars="file=\1&amp;autostart=false&amp;backcolor=0x000000&amp;frontcolor=0xFFFFFF&amp;lightcolor=0xFFFFFF" />' ),


It however reuires that you download the FLASH MP3 PLAYER and upload the mp3player.swf file to your webspace and (please do this as i don't want to mirror the file for you) link to it as the embed src section of the ubbcode above.

Also, for those of you wondering "will it lag the podcast/audio file streaming it like that?" and the answer is no, I played a 10minute podcast in real time (I have the flash file set to low quality so it'll cache the content rather fast)
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#312826 - 01/20/07 05:47 AM Re: YouTube BB Code [Re: Gizmo]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
Evidently youtube videos can have a - in them, so updated regex:
Code:
			array( "#\[youtube\]([a-zA-Z0-9-]+)\[/youtube\]#i", '<object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/\1"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/\1" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></object>' ),
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#312852 - 01/22/07 03:44 AM Re: YouTube BB Code [Re: Gizmo]
Ian_W Offline

Veteran

Registered: 02/22/02
Posts: 2575
Loc: England
Do these video's etc. autoplay?

Reason I ask is that if they do - what is to stop someone from having a video that keeps playing in their signature?

Sure we can edit the signatures - but maybe it would be good to have certain ubbcode unavailable for signatures.

Just a thought smile
_________________________
Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....)

Top
#312853 - 01/22/07 03:58 AM Re: YouTube BB Code [Re: Ian_W]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
They do not autoplay; you can set them to autoplay in each string see "autoplay = false" (or somethinjg like it) change it to true; I Don't recommend ANY auto playing though.

_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#312854 - 01/22/07 05:46 AM Re: YouTube BB Code [Re: Gizmo]
Ian_W Offline

Veteran

Registered: 02/22/02
Posts: 2575
Loc: England
OK - thx
_________________________
Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....)

Top
#312856 - 01/22/07 06:09 PM Re: YouTube BB Code [Re: Ian_W]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
mmmm i can so see 15 embedded videos on one page, all autoplaying at once... hahahaha
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#312884 - 01/24/07 11:21 AM Re: YouTube BB Code [Re: Gizmo]
Ian_W Offline

Veteran

Registered: 02/22/02
Posts: 2575
Loc: England
A few images. I am not very good at images (as the attached shows LOL )

So if anyone can add to these, or do better feel free smile



Attachments
2344-myspace.jpg

2345-myspacevideo.jpg

2346-yahoovideo.jpg

2348-googlevideo.jpg


_________________________
Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....)

Top
#312885 - 01/24/07 02:03 PM Re: YouTube BB Code [Re: Ian_W]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
still been too busy to try lol... are those all the "recommended" sizes?
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#312901 - 01/25/07 02:20 AM Re: YouTube BB Code [Re: Gizmo]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
If you utilize Stickam and want users to be able to embed their webcam feed via ubbcode:

In libs/ubbthreads.inc.php
Find:
Code:
			// Auto urls


Add Above:
Code:
			array( "#\[webcam\]([a-zA-Z0-9-_]+)\[/webcam\]#i", '<center><embed src="http://player.stickam.com/stickamPlayer/\1" type="application/x-shockwave-flash" width="480" height="210" allowScriptAccess="always"></embed></center>' ),


Usage:
[webcam]camid[/webcam]
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#312902 - 01/25/07 03:37 AM Re: YouTube BB Code [Re: Gizmo]
Ian_W Offline

Veteran

Registered: 02/22/02
Posts: 2575
Loc: England
Thanks smile
_________________________
Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....)

Top
#312961 - 01/29/07 02:10 PM Re: YouTube BB Code [Re: Gizmo]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
Revver Video
Code:
			array( "#\[revver\]([a-zA-Z0-9]+)\[/revver\]#i", '<center><embed type="application/x-shockwave-flash" src="http://flash.revver.com/player/1.0/player.swf" pluginspage="http://www.macromedia.com/go/getflashplayer" scale="noScale" salign="TL" bgcolor="#ffffff" flashvars="mediaId=\1&affiliateId=64082" wmode="transparent" height="350" width="425"></embed></center>' ),
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#312969 - 01/30/07 01:08 AM Re: YouTube BB Code [Re: Gizmo]
Ian_W Offline

Veteran

Registered: 02/22/02
Posts: 2575
Loc: England
revver? - new one on me....
_________________________
Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....)

Top
#312970 - 01/30/07 01:09 AM Re: YouTube BB Code [Re: Ian_W]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
they seem to be fairly popular :shrug:
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#313020 - 02/01/07 08:07 AM Re: YouTube BB Code [Re: Gizmo]
Ian_W Offline

Veteran

Registered: 02/22/02
Posts: 2575
Loc: England
In 7.1b5 this has changed from

Code:

>>FIND
<a href="javascript: x()" onclick="DoPrompt('image');" title="{$lang.IMAGE_ALT}" alt="{$lang.IMAGE_ALT}"><img id="image" onmouseover="raiseButton(this.id);" onmouseout="normalButton(this.id);" onmousedown="lowerButton(this.id);" class="markup_panel_normal_button" src="{$config.BASE_URL}/images/{$style_array.markup_panel}/image.gif" /></a>

>>ADD BELOW
<a href="javascript: x()" onclick="DoPrompt('youtube');" title="Video" alt="Video"><img id="youtube" onmouseover="raiseButton(this.id);" onmouseout="normalButton(this.id);" onmousedown="lowerButton(this.id);" class="markup_panel_normal_button" src="{$config.BASE_URL}/images/{$style_array.markup_panel}/youtube.gif" /></a>




to

Code:

>>FIND
<a href="javascript: void(0)" onclick="DoPrompt('image');" title="{$lang.IMAGE_ALT}" alt="{$lang.IMAGE_ALT}"><img id="image" onmouseover="raiseButton(this.id);" onmouseout="normalButton(this.id);" onmousedown="lowerButton(this.id);" class="markup_panel_normal_button" src="{$config.BASE_URL}/images/{$style_array.markup_panel}/image.gif" /></a>

>>ADD BELOW
<a href="javascript: void(0)" onclick="DoPrompt('youtube');" title="Video" alt="Video"><img id="youtube" onmouseover="raiseButton(this.id);" onmouseout="normalButton(this.id);" onmousedown="lowerButton(this.id);" class="markup_panel_normal_button" src="{$config.BASE_URL}/images/{$style_array.markup_panel}/youtube.gif" /></a>




_________________________
Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....)

Top
#313168 - 02/14/07 06:55 PM Re: YouTube BB Code [Re: chillin]
chep Offline
Lurker

Registered: 01/14/07
Posts: 1
Pardon me,

Is there an automated way to install the mods or not?


Top
#313170 - 02/15/07 12:41 AM Re: YouTube BB Code [Re: chep]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
In short, no; at this point they must be installed by hand, manually.
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#313250 - 02/24/07 05:17 AM Re: YouTube BB Code [Re: Gizmo]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
My latest UBBCode Block:
Code:
			// Gizmo's Added UBBCode
			array( "#\[google\]([a-zA-Z0-9 ]+)\[/google\]#i", '<a href="http://www.google.com/custom?domains=www.undergroundnews.com&amp;q=\1&amp;sa=Search&amp;sitesearch=&amp;client=pub-5168900358893374&amp;forid=1&amp;channel=4984299912&amp;ie=ISO-8859-1&amp;oe=ISO-8859-1&amp;cof=GALT%3A%238CA3D6%3BGL%3A1%3BDIV%3A%23666666%3BVLC%3A8CA3D6%3BAH%3Acenter%3BBGC%3A000000%3BLBGC%3A000000%3BALC%3AC0C0C0%3BLC%3AC0C0C0%3BT%3AFFFFFF%3BGFNT%3A8CA3D6%3BGIMP%3A8CA3D6%3BFORID%3A1&amp;hl=en" target="_new">\1</a>' ),
			array( "#\[googlevideo\]([a-zA-Z0-9-]+)\[/googlevideo\]#i", '<center><embed style="width:425px; height:350px;" id="VideoPlayback" type="application/x-shockwave-flash" src="http://video.google.com/googleplayer.swf?docId=\1&amp;hl=en"></embed></center>' ),
			array( "#\[googleimages\]([a-zA-Z0-9 ]+)\[/googleimages\]#i", '<a href="http://images.google.com/images?sourceid=navclient-ff&amp;ie=UTF-8&amp;rls=GGGL,GGGL:2006-17,GGGL:en&amp;q=\1" target="_new">\1</a>' ),
			array( "#\[froogle\]([a-zA-Z0-9 ]+)\[/froogle\]#i", '<a href="http://froogle.google.com/froogle?q=\1C&amp;btnG=Search+Froogle" target="_new">\1</a>' ),
			array( "#\[pricegrabber\]([a-zA-Z0-9 ]+)\[/pricegrabber\]#i", '<a href="http://www.pricegrabber.com/search_getoffers.php?keyword=\1" target="_new">\1</a>' ),
			array( "#\[youtube\]([a-zA-Z0-9-]+)\[/youtube\]#i", '<center><object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/\1"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/\1" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></object></center>' ),
			array( "#\[yahoovideo\]([a-zA-Z0-9]+).([a-zA-Z0-9 ]+)\[/yahoovideo\]#i", '<center><embed src="http://us.i1.yimg.com/cosmos.bcst.yahoo.com/player/media/swf/FLVVideoSolo.swf" flashvars="id=\2&amp;emailUrl=http%3A%2F%2Fvideo.yahoo.com%2Futil%2Fmail%3Fei%3DUTF-8%26vid%3D\1.\2%26cache%3D1&amp;imUrl=http%253A%252F%252Fvideo.yahoo.com%252Fvideo%252Fplay%253F%2526ei%253DUTF-8%2526vid%253D\1.\2%2526cache%253D1&amp;imTitle=TreehuggerTV%253A%2BFreshtopia%2BTakes%2Bthe%2BLong%2BTrain&amp;searchUrl=http://video.yahoo.com/video/search?p=&amp;profileUrl=http://video.yahoo.com/video/profile?yid=&amp;creatorValue=YmlwZWRiaXBlZA%3D%3D&amp;vid=\1.\2" type="application/x-shockwave-flash" width="425" height="350"></embed></center>' ),
			array( "#\[myspace\]([a-zA-Z0-9 ]+)\[/myspace\]#i", '<a href="http://www.myspace.com/\1" target="_new">\1</a>' ),
			array( "#\[myspacevideo\]([a-zA-Z0-9]+)\[/myspacevideo\]#i", '<center><embed src="http://lads.myspace.com/videos/vplayer.swf" flashvars="m=\1&amp;type=video" type="application/x-shockwave-flash" width="425" height="350"></embed></center>' ),
			array( "#\[loowa\]([a-zA-Z0-9@.]+)\[/loowa\]#i", '<a href="http://www.loowa.com/profile.php?email=\1" target="_new">\1</a>' ),
			array( "#\[loowavideo\]([a-zA-Z0-9]+)\[/loowavideo\]#i", '<center><embed src="http://update.videoegg.com/flash/player8.swf?jsver=1.3" FlashVars="file=http%3A//selfserve1.download.videoegg.com/gid353/cid1208/CZ/PW/1169094106KzyWvMT0WVB7S74rN6a2&amp;bgColor=000000&amp;autoPlay=false&amp;showAd=false&amp;adVars=&amp;pageURL=http%3A//www.loowa.com/video/\1&amp;allowFlash9Fullscreen=true" quality="high" allowFullScreen="true" allowScriptAccess="always" bgcolor="#000000" scale="noscale" wmode="window" width="425" height="350" name="VE_Player" align="middle" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed></center>' ),
			array( "#\[revver\]([a-zA-Z0-9]+)\[/revver\]#i", '<center><embed type="application/x-shockwave-flash" src="http://flash.revver.com/player/1.0/player.swf" pluginspage="http://www.macromedia.com/go/getflashplayer" scale="noScale" salign="TL" bgcolor="#ffffff" flashvars="mediaId=\1&affiliateId=64082" wmode="transparent" height="350" width="425"></embed></center>' ),
			array( "#\[wiki\]([a-zA-Z0-9 ]+)\[/wiki\]#i", '<a href="http://en.wikipedia.org/wiki/\1" target="_new">\1</a>' ),
			array( "#\[description\](.+?)\[/description\]#i", '<b>Description</b>: \\1' ),
			array( "#\[desc\](.+?)\[/desc\]#i", '<b>Description</b>: \\1' ),
			array( "#\[photobucket\]([a-zA-Z0-9/:.]+)\[/photobucket\]#i", '<center><object width="425" height="350"><embed type="application/x-shockwave-flash" wmode="transparent" src="http://w33.photobucket.com/pbwidget.swf?pbwurl=\1" height="350" width="425"></embed></object></center>' ),
			array( "#\[podcast\]([a-zA-Z0-9-_.&:/]+)\[/podcast\]#i", '<center><embed src="http://www.undergroundnews.com/forum/addons/mp3player.swf" width="425" height="42" bgcolor="#000000" quality="low" menu="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" flashvars="file=\1&amp;autostart=false&amp;backcolor=0x000000&amp;frontcolor=0xFFFFFF&amp;lightcolor=0xFFFFFF" /></center>' ),
			array( "#\[webcam\]([a-zA-Z0-9-_]+)\[/webcam\]#i", '<center><embed src="http://player.stickam.com/stickamPlayer/\1" type="application/x-shockwave-flash" width="480" height="210" allowScriptAccess="always"></embed></center>' ),
			array( "#\[spoiler\](.+?)\[/spoiler\]#i", "<div class=\"ubbcode-block\"><div class=\"ubbcode-header\">Warning, Spoiler: <input type=\"button\" value=\"Show\" onclick=\"if (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != '') { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = '';this.innerText = ''; this.value = 'Hide'; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value = 'Show'; }\" /></div><div class=\"ubbcode-body\"><div style=\"display: none;\">\\1</div></div></div>" ),


Everything from google searches, to memberids on youtube and loowa to video embedding and spoiler tags lol...
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#313251 - 02/24/07 05:55 AM Re: YouTube BB Code [Re: Gizmo]
Ian_W Offline

Veteran

Registered: 02/22/02
Posts: 2575
Loc: England
is that all tipsy wink
_________________________
Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....)

Top
#313456 - 03/09/07 12:05 PM Re: YouTube BB Code [Re: Ian_W]
owen93 Offline
Newbie

Registered: 10/11/01
Posts: 23
If I stick the whole string available in either the "URL" or "Embed" boxes I see nothing in my post.

if I just put the "Video Id"

I see the picture - but can't click it and start it.

I'm testing with

http://www.youtube.com/watch?v=bfMgRHRJ-tc

Top
#313457 - 03/09/07 12:26 PM Re: YouTube BB Code [Re: owen93]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
Code:
[youtube]bfMgRHRJ-tc[/youtube]
works for me without any issues; the play button is in the center, just took one click.

I'm using the embed code here.
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#313459 - 03/09/07 01:32 PM Re: YouTube BB Code [Re: Gizmo]
owen93 Offline
Newbie

Registered: 10/11/01
Posts: 23
hmm

wonder if it is my web server?

do I need to add something to the apache config maybe?


Top
#313460 - 03/09/07 02:38 PM Re: YouTube BB Code [Re: owen93]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
The code doesn't touch your apache config, it's a flash embed code, has nothing to do with your web server really... It should just load; assuming you inserted the bbcode in the proper place...

Can you link me to an example of your embedding?
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#313462 - 03/09/07 07:25 PM Re: YouTube BB Code [Re: Gizmo]
owen93 Offline
Newbie

Registered: 10/11/01
Posts: 23
Its my firefox browser.

works great in IE.

what I don't get is that youtube works fine from other sites and from youtube itself.


Top
#313463 - 03/09/07 07:35 PM Re: YouTube BB Code [Re: owen93]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
It could be that you don't have the flash player installed; or a current version of it... I know I had to jump through all sorts of hurtles on my linux machine to get it to play any java applets...

I'm not sure if it'd be:
http://www.macromedia.com/software/flash/about/

But it looks promising...
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#313467 - 03/09/07 08:52 PM Re: YouTube BB Code [Re: Gizmo]
owen93 Offline
Newbie

Registered: 10/11/01
Posts: 23
I've been having some other trouble with the firefox install
on my machine
so I wound up uninstalling and re-installing firefox2.

its working for me now


Top
#313468 - 03/09/07 08:54 PM Re: YouTube BB Code [Re: owen93]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
lol glad it's working now; i'm semi curious what the issue was, but since it's working you're golden wink
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#313512 - 03/12/07 08:18 PM Re: YouTube BB Code [Re: Gizmo]
owen93 Offline
Newbie

Registered: 10/11/01
Posts: 23
Originally Posted By: Gizmo
lol glad it's working now; i'm semi curious what the issue was, but since it's working you're golden wink


I'm curious about that too.
I uninstalled all my extensions to see if perhaps there was something in there that was causing it.

The one thing I SHOULD have done - and didn't was clear my cache.
Oh well

Top
#313528 - 03/14/07 07:47 AM Re: YouTube BB Code [Re: owen93]
Mark_S Offline
Power User

Registered: 11/15/03
Posts: 86
Loc: UK
Mines working smile

I've added a improved gif,
it does have white text no transparency.

First Post Download txt needs to be updated,
as you read through this thread there are amendments.

As in [7.1] changes.

Love it, wasn't too bad to implement.

Another great Hack from the Gizmo camp.


Attachments
2373-youtube.gif



Top
#313529 - 03/14/07 08:29 AM Re: YouTube BB Code [Re: Mark_S]
Mark_S Offline
Power User

Registered: 11/15/03
Posts: 86
Loc: UK
Saying that i cant get the yahoo video to work ?

http://video.yahoo.com/video/play?ei=UTF-8&cache=1&gid=177918&vid=266039&b=0

The player shows up, click to play but nothing happens?
Just the blank screen ?
No sound.

using the [yahoovideo] tags?

IE7 - Nothing
FFv2 - In the status bar says
Transfering data from playlist.yahoo.com........

Any idea's ?

Top
#313530 - 03/14/07 08:41 AM Re: YouTube BB Code [Re: Mark_S]
blaaskaak Offline
Enthusiast

Registered: 02/25/07
Posts: 329
Loc: The Netherlands
Youtube also has underscores in the ID's. So you should add it to the regex.

Code:
array( "#\[youtube\]([a-zA-Z0-9-_]+)\[/youtube\]#i", '<object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/\1"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/\1" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></object>' ),			array( "#\[u\](.+?)\[/u\]#i", "<u>\\1</u>" ),


_________________________

Top
#313539 - 03/14/07 05:27 PM Re: YouTube BB Code [Re: blaaskaak]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
Mark, the problem with updating the inital post is that this isn't my set of addons, i just hijacked the thread wink...

blaas, I figured they may... I'll update mine and hell, I'll start my own thread wink...

Mark, I'm not sure on taht issue, the video id for that video looks completely differant than what I crafted the regex to accept... I'll look into it later...
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#313891 - 04/17/07 11:24 AM Re: YouTube BB Code [Re: chillin]
Frost Offline
Lurker

Registered: 04/11/07
Posts: 1
Nevermind I fixed that issue.

I am still having an issue playing the Video with Firefox even though I updated my flashplayer, it still will not let me click the play option.


Edited by Frost (04/17/07 03:27 PM)
Edit Reason: Fixed original problem

Top
#313892 - 04/17/07 05:28 PM Re: YouTube BB Code [Re: Frost]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
Clearer instructions and more updated code are available on the other thread.

your problem is quite simply, you're entering the URL; all you need to do is enter the video ID.
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#313893 - 04/17/07 05:29 PM Re: YouTube BB Code [Re: Gizmo]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
I really need to check the post before responding to see if it's been edited vs relying on email notices... lol...

Not sure why firefox would give you these issues though, I'm using FFoX2 and haven't noticed any such problems...
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#313913 - 04/21/07 03:49 AM Re: YouTube BB Code [Re: Gizmo]
willing Offline
User

Registered: 04/17/07
Posts: 42
Hi - I modified the file to add the YouTube and Google Videos - and YouTube works fine.

But for some reason the Google vid doesn't work.... the black space where the video should be appears on the page along with the bottom (google video) menu, but nothing moving even if I click play.....

Can anyone help me troubleshoot?

Thank you

Top
#313914 - 04/21/07 04:16 AM Re: YouTube BB Code [Re: Gizmo]
Mark_S Offline
Power User

Registered: 11/15/03
Posts: 86
Loc: UK
Humm i questioned Yahoo video maybe i ment Google lol

Originally Posted By: Gizmo
Clearer instructions and more updated code are available on the other thread.

your problem is quite simply, you're entering the URL; all you need to do is enter the video ID.

Top
#313915 - 04/21/07 04:20 AM Re: YouTube BB Code [Re: Mark_S]
willing Offline
User

Registered: 04/17/07
Posts: 42
I did enter just the video ID actually.

Top
#313916 - 04/21/07 04:42 AM Re: YouTube BB Code [Re: willing]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
Could you paste me the URL to the google video you're trying to utilize, as well as the code you're entereing in to get it to load on your site (as in [googlevideo]videoid[/googlevideo])
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#313917 - 04/21/07 04:52 AM Re: YouTube BB Code [Re: Gizmo]
willing Offline
User

Registered: 04/17/07
Posts: 42
Hold on a sec I don't want to waste your time so I will redo it all once more triple carefully.

If the vid ID is "-5980380351326007052" then I just sandwich that between [googlevideo] and [/googlevideo], right?

Appreciate the help.

Top
#313918 - 04/21/07 05:13 AM Re: YouTube BB Code [Re: willing]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
these really belong here but yeh that SHOULD work...
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#313919 - 04/21/07 05:16 AM Re: YouTube BB Code [Re: Gizmo]
willing Offline
User

Registered: 04/17/07
Posts: 42
Thanks Gizmo.

I'm NEARLY there now with setting them up. The only thing I can't solve at the moment is the favicon.ico thing for browsers. I just can't get it to appear in the browser, but will keep at it!

Top
#316806 - 03/23/08 07:42 PM Re: YouTube BB Code [Re: chillin]
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
I'm going to add the youtube portion to a 7.2.2 site, is the first post updated with current code? smile
_________________________
- Allen wavey
- What Drives You?

Top
#316807 - 03/23/08 07:45 PM Re: YouTube BB Code [Re: AllenAyres]
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
Nevermind, other topic smile
_________________________
- Allen wavey
- What Drives You?

Top
#316808 - 03/23/08 08:16 PM Re: YouTube BB Code [Re: AllenAyres]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
Was about to say, current code for all video sites can be found in my long user tested thread wink
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
Page 1 of 4 1 2 3 4 >



Moderator:  sirdude 
Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks