Sound is not coming from iPhone speakers?

Sound comes from it but not from music or any type of media and there's no way I can check the volume because i don't know why?

Try the switch on the left side. If its set to orange, it's on silent mode. Switch it and it should work. If not, go to settings and sounds and check everything in there.

I had the same problem on netflix ( the volume bar on the screen just didn't show any volume) I just used headphone for a little but then it suddenly started working again. It kinda went in and out of working or not and sometimes the headphones didn't even work and in that case i just unplugged them them plugged them back in.