create a service to control mediaplayer,and realize play function