I'm not sure YourTube HD is compatible with 5.1.1.
I use ProTubeHD and it works well.
I'm going to move this thread into the hacking section, since it is jailbreak related. Perhaps you can post back with better details to help folks help you. Which iPad do you have? Which version of IOS is installed and jailbroken?