So if you would disable Guba for example you will set the corresponding "active"-flag to false, like in the example Code so that Veoh an YouTube are active and the snippet will only support them as Guba is not working, therefore script send’s an error message to the user.
A really small example for for point 4, code taken out of servicesList.php:
<?php
$embedServiceParams = array(
'yt' => array(
'id_pattern' =>'%[^A-Za-z0-9_\\-]%',
'urlp'=>'http://www.youtube.com/v/',
'urls'=>'&autoplay=1&border=0',
'active' => true
),'veoh' => array(
'urlp'=>'http://www.veoh.com/videodetails2.swf?permalinkId=',
'urls'=>'&player=videodetails&videoAutoPlay=1',
'active' => true
),'guba' => array(
'id_pattern'=>'%[^0-9\\-]%',
'urlp'=>'http://www.guba.com/f/root.swf?bid=',
'urls'=>'&isEmbeddedPlayer=true',
'active' => false
)
);
?>
To your questiuon @ 5: In the readme is a point calles "Service-IDs", there are the supported service you must specify in the snippet call.
As you cold see in the code before YouTube is shortened wit "yt", you also can find this in the brackts after the service-id.
The "parser" in the snippet looks for this service id an takes the prefix and suffix out of the servicesList.php and builds the anchor-tag which gives the needed data to the javascripts.. it’s hard to describe how he thing works, but took a short look into the snippet you may understand better how it’s done.