Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Auto Youtube Link-Converter Details »
Auto Youtube Link-Converter
Mod Version: 1.4, by Disasterpiece (Coder) Disasterpiece is offline
Developer Last Online: Oct 2019 I like it Show Printable Version Email this Page

vB Version: 4.1.2 Rating: (82 votes - 4.88 average) Installs: 795
Released: 01 Apr 2011 Last Update: 23 May 2011 Downloads: 3787
Not Supported Uses Plugins Re-usable Code  

So basically this is a total easy-to-implement plugin, which converts standard youtube links to video-embeds on the fly without urging users to use the video-button because I think it is unnecessary.


On post display, the plugin checks if the post contains at least 1 youtube link in the form of

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

and converts them using the default vB video bbcode parser.

Code can be modified to fit your needs, altough there shouldn't be much to add.
If you're the special performance-freak, I'm curious if you can enhance data/query-performance. So let me know if you do.

INSTALL:

- Download attached XML File and import it as an addon.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Now every post containing youtube-links should display the embedded video instead.
Works with any number of youtube-links and any kind of text surrounding them.

Let me know if you have trouble/questions.

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
  #211  
Old 27 Feb 2013, 12:05
Disasterpiece's Avatar
Disasterpiece Disasterpiece is offline
 
Join Date: Apr 2007
Did you change anything in the settings?
Do you use any other mods which might perform changes on the html source code?

The bugged-out html code isn't part of my mod. I just checked with IE8 and a vanilla mod-installation.. works fine for me.
Reply With Quote
  #212  
Old 27 Feb 2013, 12:13
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Real name: Doug
Originally Posted by Disasterpiece View Post
Did you change anything in the settings?
Do you use any other mods which might perform changes on the html source code?

The bugged-out html code isn't part of my mod. I just checked with IE8 and a vanilla mod-installation.. works fine for me.
No, didn't change any settings that I'm aware of..

The only odd thing is that it appears in a thread where some posters used the built-in vBulletin [video] bbcode and your add-on code also was used...

Perhaps a conflict with [video] bbcode? Is there someplace I can disable that built-in code to test that possibility?

I tested it with IE8 and XP as well and it worked fine...

Something odd about Windows 7 and IE10 rendering?

Thanks for your help ..

Regards,
Doug
Reply With Quote
  #213  
Old 27 Feb 2013, 13:05
Disasterpiece's Avatar
Disasterpiece Disasterpiece is offline
 
Join Date: Apr 2007
The thing is, I don't use IE at all, therefore I don't optimize anything for it since it's just a bad product. I assume the IE10 render engine does some stuff on its own and inserts some kind of additional code which messes up the site. I see what i can do, but don't expect miracles

In the meantime, suggesting a better browser to your forum users might be healthy as well.
Reply With Quote
  #214  
Old 27 Feb 2013, 13:12
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Real name: Doug
Originally Posted by Disasterpiece View Post
The thing is, I don't use IE at all, therefore I don't optimize anything for it since it's just a bad product. I assume the IE10 render engine does some stuff on its own and inserts some kind of additional code which messes up the site. I see what i can do, but don't expect miracles

In the meantime, suggesting a better browser to your forum users might be healthy as well.
Thanks .. appreciate it ..

Is there any place I can turn OFF the vBulletin [video] bbCode function? I've looked everywhere and can't seem to locate a place where that's handled..

This seems to be the code that's hanging losse from the blank white video box:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Regards,
Doug
Reply With Quote
  #215  
Old 28 Feb 2013, 14:24
EliasAlucard's Avatar
EliasAlucard EliasAlucard is offline
 
Join Date: Nov 2009
This is a good plugin, but a few issues:

1) It should conform tp vB4.2 (I know it works fine, but still).
2) When one creates a YouTube link with text, this plugin shouldn't automatically convert it to an embedded videos.

Thanks.
__________________
“Human beings are animals: very unusual animals, to be sure, but nevertheless animals. In origin, we are not fallen angels, but apes arisen.” — Michael H. Hart

UADisplay for the nerds among us who care about browser wars!
Reply With Quote
  #216  
Old 28 Feb 2013, 19:34
dizzynation's Avatar
dizzynation dizzynation is offline
 
Join Date: Jun 2011
Works perfect vb 4.2 PL3
Reply With Quote
  #217  
Old 05 Mar 2013, 07:28
inigo inigo is offline
 
Join Date: May 2010
I have a problem with new links:

http://youtu.be/f5FP2ty_J-w

It doesn't be recognised and changed to play the video,

Any help?

Thanks!
Reply With Quote
  #218  
Old 17 Mar 2013, 14:17
tarun_ce tarun_ce is offline
 
Join Date: Mar 2013
awesome
Reply With Quote
  #219  
Old 18 Mar 2013, 17:17
grc grc is offline
 
Join Date: Oct 2005
Is there any solution to the "related videos" that pop up at the end of the embedded youtube videos? Some of them are downright raunchy and inappropriate for our forum. I see that if you use the embed code that you can suppress the related videos, but not with the "share" code which works with this mod.
Reply With Quote
  #220  
Old 18 Mar 2013, 19:58
Disasterpiece's Avatar
Disasterpiece Disasterpiece is offline
 
Join Date: Apr 2007
I guess you could look if a specific parameter suits your needs: https://developers.google.com/youtub...ers#Parameters
But that's not in the scope of the mod really.
Reply With Quote
  #221  
Old 25 Apr 2013, 03:09
JohnnieOO JohnnieOO is offline
 
Join Date: Sep 2007
Is there a similar version of the old passive vid which played almost any popular video host in the post? This seems to be a good start.

Any problems with this mod and Vb 4.2.1 ?

Thanks,
Johnnie
Reply With Quote
  #222  
Old 25 Apr 2013, 04:02
djbaxter djbaxter is offline
 
Join Date: Aug 2006
Location: Ottawa, Canada
Originally Posted by JohnnieOO View Post
Is there a similar version of the old passive vid which played almost any popular video host in the post? This seems to be a good start.

Any problems with this mod and Vb 4.2.1 ?

Thanks,
Johnnie
Yep. It interferes with a couple of basic vBulletin functions in any vB4 version, including some of the built-in video functions.
Reply With Quote
  #223  
Old 05 May 2013, 12:59
CLF's Avatar
CLF CLF is offline
 
Join Date: Jun 2007
Hi,

I was wondering if anyone could help me with this. Everything works perfectly fine - I run 4.2.0 PL3, but when the format is like this:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

it doesn't convert. I would be grateful if you could help me on this one.

Thank you in advance!!!
Reply With Quote
  #224  
Old 02 Jul 2013, 22:56
GameOverViper GameOverViper is offline
 
Join Date: Jun 2011
Hello, I use this mod on my forum www.youtubegaming.com and it has worked perfectly for me.

I have one suggestion/question about it. Can I make this so it works in specific forums by forum ID's or another way? How do I do this if its possible?

Also, do you do any other vbulletin YouTube API work that you'd be willing to do on the side?

Thanks, Chris
Reply With Quote
  #225  
Old 02 Jul 2013, 23:09
Disasterpiece's Avatar
Disasterpiece Disasterpiece is offline
 
Join Date: Apr 2007
Originally Posted by GameOverViper View Post
Hello, I use this mod on my forum www.youtubegaming.com and it has worked perfectly for me.

I have one suggestion/question about it. Can I make this so it works in specific forums by forum ID's or another way? How do I do this if its possible?

Also, do you do any other vbulletin YouTube API work that you'd be willing to do on the side?

Thanks, Chris
I can take on some contract work if you're willing to spend some $$. Just send me a pm with your specifications. The more detail, the better.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 11:54.

Layout Options | Width: Wide Color: