Disentangling the Electronic and Phononic Glue in a High-Tc Superconductor