Message To AllThis topic had gone to over 1000 posts long over the many iterations of the mod.
I am now introducing version 4.0 which has been completely re-written from scratch.
Therefore I decided that it would be beneficial to start a fresh.
So this is the support topic for any PRE-v4.0 versions. Eventually when I get to the point of recommend that people upgrade to v4.0, I will of course lock this topic.
The NEW support topic for version 4.0 can be found
http://www.simplemachines.org/community/index.php?topic=200401.0And v4.0 is now available from the mod site.
http://custom.simplemachines.org/mods/index.php?mod=977Thankyou.
CompatibilityFor SMF 1.1.x and SMF 2.0 Beta x
IntroductionAutomatically embed video and audio clips in your SMF forum posts from OVER
130+ sites including YouTube/DailyMotion/MetaCafe/GoogleVideo/BBC Iplayer (uk only) from urls. Without the need for bbcode or messy html.
Just copy the url from your address bar into a post (like http://youtube.com/watch?v=B8XC7idFyvE)and let the mod will do the rest. Its the ultimate user-friendly way of posting clips.
35+ of those sites require doing a 'lookup' on posting to get the actual embed url/filename in order for embedding to work.
This may not work on all servers. (Such as those with PHP Safe Mode and/or OpenBaseDir enabled).
Features [New in v3.1 shown in bold]
o Supports the following; [Sites shown in
red require 'lookups' in order to work.]
- YouTube (Normal|Playlists), Google Video, Dailymotion, BBC Iplayer (UK Only) , Megavideo, MetaCafe, 123video.nl, Aniboom, AOL Uncut,
Archive.org, AtomFilms, AtomFilms Uploads,
Bebo, Biku, Blip.tv,
BoFunk.com, Break.com, BrightCove, CellFish, ClipFish.de, ClipMoon, Clipser.com, Clipshack.com, Coldlink (Anti Video Hotlinkers), CollegeHumor, ComedyCentral/TheDailyShow, Crackle.com, Crunchyroll.com Old, Crunchyroll.com New,
Current.com, Dailyhaha.com, Dave.tv, Deezer.com, DipVid.com,
DotSub.com,
DoubleViking.com, dropshots.com, dv.ouou,
EASportsWorld, EbaumsWorld.com, ESPN, FunnyOrDie, Gamespot, Gametrailers, Gametrailers User Movies, Gametube.org, GameVideos, GarageTv.Be, Gloria.tv, GoEar, Glumbert, Godtube, Gofish Videos, Gofish Channels,
Grindtv.com, Guba, Hulu.com (US Only),
Humour.com, IFilm, IGN, Imageshack.us,
Imeem (Music|Playlists|Video), IndyaRocks,
Izlesene.com (Turkish),
Jamendo.com, Jeux-France.com, Jokeroo.com, Jubii.co.uk,
Jujunation.com, JumpCut.com, Kewego.co.uk, Koreus, Leettube.com, Libero.it, LiveLeak, LiveVideo, Machinima.com, MotionBox, MSN Live/Soapbox Video, Mofile, Mp3tube.net, Mtvu, MusOpen, MySoccerMedia,
MyShows.cn / SeeHaha.com (Chinese), MySpaceTv, MyVideo, M Thai,
Newgrounds.com (Flash Video only), OnSmash,
Orb.com, Photobucket, Pikniktube.com, Project Playlist, PutFile,
Rawvegas.tv,
Redlasso, Revver, Seeqpod, Sevenload, ShareView.us,
Sharkle.com, Smotri, Snotr,
Space.tv.CCTV.com, Spike.com, Streetfire.net, Stupidvideos.com, Tinypic.com,
Tm-tube.com,
TrailerAddict.com,
TrTube.com, Tu.tv, Tudou, UUME, Veoh, VideoJug.com, videotube.de, videos.sapo.pt, VideoWebTown.com, Vidiac.com, Viddler.com, Vidilife.com, VidMax.com, Vimeo.com,
Vidivodo, VSocial.com, WeGame.com, Wipido.com, Yahoo (Except HK), Yahoo HK Only,
Yahoo Music, Youku.com, You.Video.Sina.com.cn
o No configuration necessary
- No admin settings/permissions to fiddle with. Install and DONE!
o Works for all themes/languages, no manual edits necessary
o Lookups to grab the actual video url/filename, enabling sites to be supported which could not be previously
- On POSTING, the mod checks the post for links to sites that require lookups
- This may not work on all servers (Such as PHP Safe Mode and/or OpenBaseDir enabled)
- Doing a lookup is likely to count towards your host bandwidth limits. (But it should only be eg 20kb each time)
- Lookups will NOT affect pre-existing posts. You'll need to edit the post to make it do the lookup.
o Use [noembed][/noembed] bbcode to prevent links being converted to embedded clips
o Prevents embedding inside quote and code blocks
o Hard-coded limit to number to converted links per page (to prevent flash overload/browser crash)
- Only applies to links converted by this mod
o Disabled for Printer Friendly pages & Signatures (& on SMF 2.0 inside the WYSIWYG)
o Safe from security standpoint
- They can't just embed ANY object hosted ANYWHERE, it only works for trusted supported sites
- Properly validates/sanitizes/parses the video id before including it in the url
- Disables script access (allowScriptAccess="never")
o Since all the videos are hosted by external sites, it won't consume your bandwidth
o The mod does NOT allow embedding of video/audio clips on your own site.
o It is possible to have both this mod and the
YouTube BBCode mod installed at the same time. They won't conflict.
Since the mod only converts active links, it is recommended to have the setting "Automatically link posted URLs" enabled.
(via Admin > Posts & Topics > Bulletin Board Code)
Other than that there are no admin settings with this mod. Uninstall the mod to disable it.
Note: Some users have reported that the players won't go fullscreen. This maybe caused by bugs in some versions of Adobe Flash Player when wmode="transparent" is in use.
Check & Get the Latest Version of Adobe Flash Player.
Note: Are some YouTube clips not working? YouTube has recently started allowing clip authors to prevent users external embedding their clips. So if a YouTube clip doesn't work, check at youtube for the embed code. Where it says "Embedding disabled by request", those clips will only work when viewed at YouTube.
Note: Some users reporting issues with VEOH. It appears some of their videos now will only work by installing their crappy VEOHTV playerInstallationAny previous versions of this mod MUST be uninstalled BEFORE installing this version.
Install the mod via the SMF Package Manager, and your done. It installs on
ALL themes automatically as it only affects Source files.
There are NO theme edits required and there are NO language strings to translate.
Useful LinksSMF Package ParserManual Installation Of ModsHow Do I Modify Files?DonateHas this modification helped you? Support the developer by
DonatingCustomizingThe mod has been designed to be fully functional 'out of the box' and not require any configuration or manual edits.
However some 'hardcoded' capability/hooks have been included for those who understand php/smf and maybe wish to customize the mod.
Enable/Disable Specific SitesIn Sources/Subs-AEVAC.php each supported site can quickly and easily be enabled/disabed by changing the
'enabled' => 1, to 'enabled' => 0, and vice versa.
For better performance, remove any sites that you won't ever use.
Increase/Decrease The Limit On The Number Embedded Objects Per PageToo much flash can be bad for your health (eg it will crash your browser). Thats why the limit was put in place.
IE, Firefox, Opera etc start kicking and screaming if you get over 10 objects.
Open Sources/Subs-AEVAC.php
FIND
static $autoembedmax = 12 ;Change 12 to another number. Use -1 for no limit (Not Recommended).
Disabling Embedding In Specific AreasBy default embedding is disabled in signatures.
Some people requested a way to disable it for other sections such as Shoutbox.
You must find in the relevant SOURCE file where that string or data is put through the function "parse_bbc"
And on the line BEFORE it, put
$context['disableAEVAC'] = 1 ;Supporto Please don't ask me to do the edits for you
o Please use the modification thread for support with this modification such as bugs/video & audio site requests, HOWEVER
o Please DON'T ask me to help to make this mod support videos hosted on your OWN site.Sorry, but I don't have the time nor the desire. You may find someone to write the regex patterns for you by posting a request in the
Help Wanted board.
Before requesting that I support an additional video/audio site, please note that despite v3.1 being able to lookup/grab the embeddable url, it has still not been possible to include the following sites;
o (Don't allow external embedding) NFL.com, NHL.com, Grapheine (Bombay.tv), dohhhup.com, trilulilu.ro
o (Javascript based) Veeple, Videos.Clarin.com, Itv.com, Pokertube.com
o (Can't get to work atm) Truveo.com, FileFront, zippyvideos.com (uses WMP, not flash), Yatahonga, link.BrightCove.com, Pitchfork Tv. itvsource.com
o (Dead sites?) Quxiu.com, 56.com,
o (Not audio/video so won't be supporting) Slide.com, Slideshare.net
o (Uses Divx not flash) beta.vreel.net (Although originally the mod did have support for divx with Stage6, IMO its not worth it for a small amateurish video site).
o Todou playlists (they are individual links, not a single flash)
(For those I've been unable to get working I will keep trying for subsequent versions.)
Requested sites I will try to add for future versions (to save people requesting them again).
- BBC (non-iplayer ones)
No adult/porn site requests please as I am not supporting them.
Thanks for Contributionso Din 1031 - Re Faster performance with static/array
o Eliana Tamerin - Re Answering many support questions
o Nao - Re continued bug reports
(and thanks to anyone who has helped with suggestions, answered questions, and those I may have missed)
(Optional) Convert Old Video BBCode(Mysql users only) If you have had video bbcode mods previously installed eg [youtube], then you might want to use my
convert_old_video_bbcodes.php script to convert bbcoded video links to normal links (and therefore make those links work with this mod).
Use this at your OWN risk.
This cannot be undone, so backup your database and files prior to running it.
Upload it via ftp to your directory where SMF runs from. Put your forum in maintenance mode, and then point to it in your browser.
For security reasons, remove the file once completed.
o Only applies to topics/posts.
o Works for valid links or ids
o Works for both types of bbcode (with or without sizes)
o Converts the following bbcodes
[youtube], [yt], [ytplaylist], [stage6], [metacafe], [googlevid], [gv], [google_video], [gvideo], [dailymotion], [livevideo], [liveleak], [myvideo], [clipfish], [veoh]
Other uses of the bbcode will remain untouched.
o You can use the script at any time (with or without the AEVAC mod installed)
Changelogv3.1 - 13th July 2008o Fixed so don't call function with an empty $_POST['message'] for both edits on Posting (Post.php) (Thanks Nao + others)
o Fixed Veoh - they changed their player. (Note Veoh seems to have lots of issues atm with videos not playing - its to do with their servers/script, and not this mod.)
o Added Din1031 fix for faster processing. Stores as static arrays.
o Fixed StupidVideos.com - they changed the player link
o Added several new sites (see those on the list in bold)
o Renumbered all replacements $1, $2 etc increasing by 1 (as $1 is now the FULL raw link)
o Fixed CrunchyRoll.com (they changed their links AGAIN!)
o Added original raw link back into the post for most sites (except ones where the raw link = the embed link (eg $2))
o Added nolink variable to enable you to decide not to show links for specific sites.
o Fixed protection of code bbcode so don't get bbcode/links inside it
o Fixed so mod follows setting whether or not to autolinkurls
o Fixed protection script to be more optimized
o Fixed possibility of getting html link instead of expected bbcode version
o Wrote accompanying guide on how to add sites
o Fixed bug not clearing left over noembed bbcode
o Fixed 2.x only edit for WYSIWYG into separate file, so 1.1.x users don't get confused and try to add it
v3.1.1 - 13th July 2008o Fixed utf8 issue
v3.1.2 - 18th July 2008o Fixed utf8 posting issue (this time I've really fixed it) [Big thanks to everyone who helped debug this one)
(anyone using less than v3.1.2 is recommended to uninstall their version and install the latest one)
o Fixed utf8 lookup issue (re Mp3tube, Thx AllMassive)
o Disabled the link below the video, since noone liked it (can be uncommented inside subs-aevac.php)
For the full changelog for previous versions please see changelog.txt