added player to main activity as fragment.