Sound goes through speakers eventhough headphone is plugged in on HP notebook
Solution 1:
You can change default device as well as default communication device to headphones. That should take care of it.
Solution 2:
I think that you're telling the computer to only use the headphone for communications applications. When the headphones are plugged into the jack, the logic still outputs sound from applications like WMP and youTube to the speakers, because the headphone jack is reserved for communications applications like VoIP. I think that if you disable the headphones, the sound will play through the jack (and therefore the headphones) because the OS will release the jack to any sound playing app, not just communications...that's my theory.
Solution 3:
One other option to check... I use a IBM/Lenovo laptop, and I was getting a similar problem on my system where certain apps would play in the headphones and others would go through the built in speakers; even if the headphones were plugged in. The internal sound card in my laptop is provided by Conexant. I found that outside of the standard Microsoft "Audio" control panel, Conexant also provided another control panel called "Smart Audio" that I hadn't noticed before. Upon reviewing that control panel, there was a "Audio Director" setting labeled as "Classic" or "Multi-Stream". Mine was set to Multi-Stream, so it allowed some audio to go to the internal speakers, and some to my headphones, but when I set it back to Classic, all the audio moved to the headphones when they are present. I think that's what your looking for. You might see if HP has a similar software driver that is allowing Multi-Stream audio on your system. Hope that helps!