The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Auto Youtube Link-Converter Details »» | |||||||||||||||||||||||||||||||||
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 Code:
<a href="http://www.youtube.com/watch?v=somecode&some=params">http://www.youtube.com/watch?v=somecode&some=params</a> 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. Code:
Changes since 1.3: - Now works properly on iPad Changes since 1.2: - Supports mobile devices with fallback-display if browser doesn't support flash/embed codes - Allows the user to specify the above mentioned replacement code for mobile browsers - Minor improvements & Fixes Changes since 1.1: - Moved regular expression and index position into admincp settings to allow easier changing in the future - supports new youtube link format: "http://youtu.be/*somevideocode*" Changes since 1.0: (or: why should I download that mod again?) - Added Link parsing in post-preview mode and in post reviewbits (the latest posts you see under the new reply form) 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
Show Your Support
|
14 благодарности(ей) от: | ||
beertruck, CuteC@t, davew, donkspurs, Duke49th, GhostHunter2010, GoMaX, iiioroh, L2Insomnia, mapleleaffans, orangecopper, SteveBoogie, Toorak Times |
Comments |
#212
|
||||
|
||||
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. |
#213
|
|||
|
|||
Quote:
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 |
#214
|
||||
|
||||
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. |
Благодарность от: | ||
dizzynation |
#215
|
|||
|
|||
Quote:
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: Code:
"<![endif]-->" origwidth="640" origheight="385" aspect="1.66233766233766" Doug |
#216
|
||||
|
||||
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. |
#217
|
||||
|
||||
Works perfect vb 4.2 PL3
|
#218
|
|||
|
|||
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! |
#219
|
|||
|
|||
awesome
|
#220
|
|||
|
|||
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.
|
#221
|
||||
|
||||
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. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|