added Drag and Drop functionality for MediaPlayer.