Solution for having no sound on iPad Air 2:
To fix this please slide up the control panel from below and uncheck the "mute" icon. Enjoy!
Solution for other iPad models:
To fix this please go to your iPad's "Settings" -> "General" -> "Use side switch to:" and choose "Mute". (see screenshot).
Now turn on the side switch of your iPad. The sound will now work. Enjoy!