Updated media playback implementation