my 04 vw beetle is making a tapping noise only after idling for a long time. if i give it gas it stops ticking. here is a link to the video with the sound its making. https://youtu.be/1pc09Iys2Nw
what could it be? thanks Scotty!

sounds horrid, I would check the valve adjustments first and pray the engine itself isn't broken in the cams or bearings

I will try to check the valve adjustments, but I remember that it has been making that noise since about 3 or two years back. It has not gotten worse and the car still drives the same, the noise does not increase when you rev it, it just stops ticking altogether. since it has been doing it for quite a long time and it has not worsened, do you think it might be something other than the bearings?