• Downloading from our site will require you to have a paid membership. Upgrade to a Premium Membership from 10$ a month today!

    Dont forget read our Rules! Also anyone caught Sharing this content will be banned. By using this site you are agreeing to our rules so read them. Saying I did not know is simply not an excuse! You have been warned.

Auto Youtube Link-Converter

Admin

Well-Known Member
Staff member
Administrator
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>
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.
Code:
[B]Changes since 1.3:[/B]
- Now works properly on iPad
[B]Changes since 1.2:[/B]
- 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
[B]Changes since 1.1:[/B]
- 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*"
[B]Changes since 1.0:[/B] (or: why should I download that mod [I]again[/I]?)
- 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:
product-autoytparser_1_4.xml
 

Facebook Comments

New posts New threads New resources

Back
Top