Cylinder texturing not working

I want the texture to go around the side of a cylinder. I watch this guy do it, and no prob in a new blender file.
But when I want to do this on a cylinder in my other blender files, this happens, instead of this.

Any advice?

No blend file supplied !! (You MUST always supply a demo blend file for ALL support questions). DO SO

Did you select the correct unwrap option. Your result looks to be ‘project from view’ rather then the ‘cylinder projection’

Now I am completely noob with this website, and cannot simply figure out how to attach the file(s). This is what i try to do

And to comment on your reply regarding a solution, i did use the cylinder unwrap option. However, this option changes, if i move my camera, so it is dependent on my camera. The funny thing is that if i try to do this in a new blend file, the correct outcome will happen.