This is unlike my past video mod which used bbcode, this one is more simple and works much better for the user too. What it does it parses the url when the post is viewed, so it will work with past links and new links.
So basically the user enters a video link in a post and its automaticly displayed as the actual embedded video.
Works With:
vBulletin [3.6.X to 3.7.0 beta 3]
vBlog [1.0.0 to 1.0.3]
vbAdvanced [3.0 RC2]
Supported Video Sites:
YouTube v1.0.0
Google Video v1.0.0
MySpace Video v1.0.0
MetaCafe Video v1.0.0
Yahoo Video v1.0.1
Koreus Video v1.0.1
Sapo Video v1.0.1
video.google.co.uk v1.0.2
Live Leak v1.0.2
Photobucket v1.0.3
Gametrailers v1.0.3
MyVideo v1.0.4
GameSpot v1.0.4
Veoh v1.0.4
StreetFire v1.0.4
Stage6 v1.0.4
Sevenload v1.0.4
Izlesene v1.0.4
Vidiac v1.0.4
Xtube v1.0.6
VidMax v1.0.6
RedTube v1.0.6
OnSmash v1.0.6
GodTube v1.0.6
PornoTube v1.0.6
BrightCove v1.0.7
YouKu v1.0.7
LiveVideo v1.0.7
Break v1.0.8
ExpertVillage v1.1.2
Changes:
[v1.0.5] Added the ability to enable/disable any of the sites
[v1.0.7] Changed the actual structure of the modification, it now gives me the ability to push it even further
[v1.0.8] Added support for actually displaying the video titles
[v1.0.8] Added the ability to customize the actual embed, you can choose where/how the title and embed will be displayed by using HTML
[v1.0.9] Support for vBlog
[v1.0.9] Support for vbAdvanced
[v1.1.0] Finalized multiple things
[v1.1.1] Added ability to restrict the hack per forum
[v1.1.1] Added ability to restrict the hack per posters usergroup
[v1.1.2] Added ability to restrict the hack per viewers usergroup
[v1.1.2] Added the custom replacement that i use
[v1.1.2] Added a new var that can be used in the custom replace ($PASSIVEURL)
Installation Instructions (painless install): (detailed instructions for noobs [here])
Just checking this out - works nice, but video.google.co.uk doesn't work. British folks are automatically taken to the co.uk mirror, as oppose the .com
Yeah google.de doesn't work either.... not sure if it's viable but maybe insert a new variable like $passivevid endings into the pregmatch statement to search for like:
video.google$passivevid
$vbulletin->options['endings'] <- defined in admincp where users can enter: .com,.co.uk etc
and then a little loop in which pregmatch goes through and searches for relevant matches with all the domain endings entered in the admincp.
More work, aye, sorry to bring it up lol Love this hack though
Yeah google.de doesn't work either.... not sure if it's viable but maybe insert a new variable like $passivevid endings into the pregmatch statement to search for like:
video.google$passivevid
$vbulletin->options['endings'] <- defined in admincp where users can enter: .com,.co.uk etc
and then a little loop in which pregmatch goes through and searches for relevant matches with all the domain endings entered in the admincp.
More work, aye, sorry to bring it up lol Love this hack though
I wont be adding an option it will be automated...
I just need a few more video site requests for me to actually make an update.