The speaker won't work for my Nexus 4 My phone was working fine until one day I left it outside for a few minutes. I went back inside and checked my phone. I tried to watch YouTube but it had no sounds.
Did you phone get wet, or really hot? Connect a headset, if it doesn't play sound at all, reboot your phone.