There\'s been some changes made to the API since I used it last. This is the way I\'ve successfully used it in the past:
if($host == \'youtube.com\'){