I believe that 4th connection, closest to the plug body, is used for video/mic. Here is a picture:
koje slusalice
So from the tip: left channel, right channel, ground, then video or microphone. For earbuds they probably just ignore that 4th position.