change theme to @MinonHeart and @iDongu version

1) fix the progress bar and music info display.
2) move some php function from player.php into api.php