Version: 1.4, by Disasterpiece
Developer Last Online: Oct 2019
Category: Mini Mods -
Version: 4.1.2
Rating:
Released: 03-31-2011
Last Update: 05-22-2011
Installs: 795
Uses Plugins
Re-useable Code
No support by the author.
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
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:
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.
And you clicked the link everytime until it has no queries left to run? The link is at the bottom of each page.
Otherwise I'm out of ideas.
What could help immensly is: Export only your vb posts table, put it into an archive and send it to me via PM so I can run the script myself and test out why it doesn't replace the tags.
And you clicked the link everytime until it has no queries left to run? The link is at the bottom of each page.
Otherwise I'm out of ideas.
What could help immensly is: Export only your vb posts table, put it into an archive and send it to me via PM so I can run the script myself and test out why it doesn't replace the tags.
Yes Sir ... clicked it each time at every 10,000 posts and ran all the way through to the end ...
I'll try to figure out how to export the post table and send it to you. Never done anything like that before.
Appreciate your help .. very gracious of you ... :up:
I'm getting 3 copies of the same video, it's a youtube rss link, before this mod I would just get a clickable image that would redirect to youtube, undesired, so any fix? or can I disable this mod just for 1 forum