vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   BB Code Enhancements - Youtube Embed Full URL BB Code - [yt] (https://vborg.vbsupport.ru/showthread.php?t=216048)

1Unreal 06-12-2009 10:00 PM

Youtube Embed Full URL BB Code - [yt]
 
1 Attachment(s)
Right, there are lots of mods for embeding Youtube videos on here in one way or another. However they all require your users to get the ID and do it that way. If your users are not quite so savvy they may not know how to do this.

So this makes things very simple. Heres the syntax

Code:

[yt]http://www.youtube.com/watch?v=gEl1xSPyOwA[/yt]
Also, the URL doesn't have to be perfect. For example, if a user pastes in a URL such as http://www.youtube.com/watch?v=gEl1xSPyOwA&feature=rec-HM-fresh+div it will still find the ID and embed it perfectly.

Simple!

How to add a button to the toolbar

Phobos49 06-13-2009 11:39 AM

Works fine! Thanks!!!

ubcforums 06-13-2009 12:38 PM

Thanks !!

gigi37 06-13-2009 08:57 PM

The embed works fine, but I can't reply to any threads on any forum afterwards. I get the following message from Foxfire:

The page isn't redirecting properly


Firefox has detected that the server is redirecting the request for this address in a way that will never complete.



Any idea what would cause that? Where do I ask for help with this? New to vBulletin, I'm not sure where this should go.

Bill from Cleve 06-13-2009 10:19 PM

All the hacks I've seen that embed Youtube does the exact same thing without having to use BB code? Does this do anything differn't?

1Unreal 06-13-2009 11:27 PM

Quote:

Originally Posted by Bill from Cleve (Post 1829235)
All the hacks I've seen that embed Youtube does the exact same thing without having to use BB code? Does this do anything differn't?

Most, if not all, require you to use the ID where as this just requires the URL.

1Unreal 06-13-2009 11:41 PM

Quote:

Originally Posted by gigi37 (Post 1829199)
The embed works fine, but I can't reply to any threads on any forum afterwards. I get the following message from Foxfire:

The page isn't redirecting properly


Firefox has detected that the server is redirecting the request for this address in a way that will never complete.



Any idea what would cause that? Where do I ask for help with this? New to vBulletin, I'm not sure where this should go.

I'm not getting that error. Im using Firefox too

fourat 06-14-2009 01:36 AM

thanks vey much

reas0n 06-15-2009 04:29 PM

is there a way i can get this to show up in the Editor like next to the Link, Email link, and insert image buttons?

djdog 06-15-2009 05:13 PM

This one works fine, but I used this one with Images - Works fine on 3.8.x

https://vborg.vbsupport.ru/showthread.php?t=130868


All times are GMT. The time now is 07:24 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
  • Page Generation 0.01712 seconds
  • Memory Usage 1,731KB
  • 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
  • (2)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