Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Youtube Embed Full URL BB Code - [yt] Details »»
Youtube Embed Full URL BB Code - [yt]
Version: 1.00, by 1Unreal 1Unreal is offline
Developer Last Online: Aug 2020 Show Printable Version Email this Page

Category: BB Code Enhancements - Version: 3.8.x Rating:
Released: 06-12-2009 Last Update: Never Installs: 194
Uses Plugins
 
No support by the author.

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

Download Now

File Type: xml product-ytembed.xml (1.7 KB, 1760 views)

Show Your Support

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

Comments
  #32  
Old 09-18-2009, 08:24 AM
ChopSuey ChopSuey is offline
 
Join Date: Jun 2009
Location: Alaska
Posts: 2,140
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Pandadisossato View Post
I've noticed the same bug, I'll continue to use it while I'll not find a better mod or the bug will be fixed.
I suggest to add the same feature of "add image" button that ask to put the url of the video.

Thanks for your work
DJ's AME? Works with all sorts of vids.
Reply With Quote
  #33  
Old 09-18-2009, 09:26 AM
Pandadisossato Pandadisossato is offline
 
Join Date: Jan 2008
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ChopSuey View Post
DJ's AME? Works with all sorts of vids.
Just found I came back here to suggest AME as alternative too.
Anyway Thanks
Reply With Quote
  #34  
Old 10-28-2009, 10:30 PM
H22A H22A is offline
 
Join Date: Apr 2009
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

why the youtube icon doesn't work

Code:
<!--custom bbcode youtube start -->
<td><div class="imagebutton" id="{$editorid}_cmd_wrap0_yt"><img src="$stylevar[imgdir_editor]/youtube.gif" width="21" height="20" alt="Wrap [yt] tags around selected text" /></div></td>
<!--custom bbcode youtube end -->
Reply With Quote
  #35  
Old 10-29-2009, 04:35 AM
jmpa jmpa is offline
 
Join Date: Apr 2008
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Pandadisossato View Post
Just found I came back here to suggest AME as alternative too.
Anyway Thanks
Thanks, but I am always a bit scary to install lofty mods on my forum. Shouldn't I?
Reply With Quote
  #36  
Old 04-26-2010, 11:52 PM
KrisP KrisP is offline
 
Join Date: Jun 2002
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I dont understand others are not complaining about this error ??? This is what any user would do:

1. User click reply to post.
2. User paste youtube link in post (code in post now looks like this: *[*URL*]http://www.youtube.com/watch?v=NX80KoTZv9g[*/*URL*])
3. User mark link
4. User click youtube bbcode icon - code now looks like this: [*URL="http://www.youtube.com/watch?v=NX80KoTZv9g"][YT]
[/*URL][URL]http://www.youtube.com/watch?v=NX80KoTZv9g[/U*RL][U*RL="http://www.youtube.com/watch?v=NX80KoTZv9g"]
[/YT][/*URL]

(random stars inserted)

How can you expect the users to figure out for themselves to avoid this

Quote:
Originally Posted by motorola View Post
I have a probblem when I put some youtube links in my forum,i had installed this mod a few weeks a go,everything was okay untill today !

In Google Chrome works fine,in other browsers show this error

I use the youtube url not the embed code....
What is the probblem?

Reply With Quote
  #37  
Old 05-04-2010, 09:02 PM
johnmr johnmr is offline
 
Join Date: Sep 2006
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I installed the product and etited the editor_toolbar_on and I got no icon.

I then added bbcode and I ended up having 2 icons. One was giving the tags and the other

I then removed the code from the editor file and I had one icon with the tags which doesn't work.

Any ideas or better instructions?
Reply With Quote
  #38  
Old 05-04-2010, 11:11 PM
johnmr johnmr is offline
 
Join Date: Sep 2006
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I had to remove this $vBeditTemplate[extrabuttons] to have just the one image

It works ok but when you try to edit your post the you tube link or video isn't there. Any ideas?
Reply With Quote
  #39  
Old 05-04-2010, 11:41 PM
sherrym sherrym is offline
 
Join Date: Apr 2009
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works well...thank you.

Sherry
Reply With Quote
  #40  
Old 06-09-2010, 07:14 PM
elrafei elrafei is offline
 
Join Date: Jan 2005
Location: Egypt
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

can i disable YouTube's new related videos feature on this mod ?
Reply With Quote
  #41  
Old 06-09-2010, 07:34 PM
elrafei elrafei is offline
 
Join Date: Jan 2005
Location: Egypt
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

YES!

To disable this feature, you'll have to apply a minor hack to the embed code that you copy from YouTube. The hack is to simply add
Code:
"&rel=0"
to the end of the embed src URL.
Attached Files
File Type: xml product-ytembed.xml (1.7 KB, 14 views)
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 04:51 AM.


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.05094 seconds
  • Memory Usage 2,325KB
  • Queries Executed 26 (?)
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
  • (3)bbcode_code
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (2)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete