Tranfroming media player into fragment