Chosen Solution

I changed the Display because of a crack in the screen. I replaced the display with no problems. But if I try to play music over Spotify etc. all sound comes from the earpiece. Do you know this problem how can I solve this?

I wouldn’t be surprised the hit that caused the screen break also damaged the Audio IC, a relatively common issue on iP7. That can cause a number of sound problems, try to check if other audio functions work, message recording and so on.. If you have other audio issues too that would confirm it and would need a board repair to be fixed.