How to adjust the volume on Ipad

Can't adjust volume/play music on iphone 4

Volume buttons or ringer not working in Iphone