Accelerometer-controlled music and video playback app