Wiring an IR phototransistor
The IR Receiver you have is a simple phototransistor. The IR Receiver the library uses is a (typically) 38khz IR decoder, with logic on it to remove the remote's carrier wave. They are not interchangeable.

Below is a typical one. Sometimes they have metal shields around them.



You can find them in any radioshack, or any cable box that has been thrown out. Heck, sometimes new cable boxes come with a little receiver cable that lets you hide the box but still use your remote.