My iPhone 5 is not playing sound at all, but the speaker seems to be working?

I got a new iPhone 5 on Wednesday and the sounds not working. It won't play music or videos but when you call it you can hear the person and they person can hear you. I've trie turning it on and off again with no avail.

Take it to the apple store and they should be able to tell you what the problem is. And as long as you haven't tried to open it up yourself then they should repair it for free if you only got it on Wednesday.