After installing it the way you describe, it does not show up in Special:Version. I have mediawiki 1.21 and try loading it with both
wfLoadExtension( 'YouTube' );
and
require_once("$IP/extensions/YouTube/YouTube.class.php");
Any chance to make it downward-compatible?