Before you watch it, remember:
1) "-ed" is pronounced /t/ when the infinitive/present tense form of the verb ends in a voiceles/ unvoiced (i.e. to articulate which your vocal cords do not vibrate) sound, with the exception of /t/. This is the mnemonic list that I always use to illustrate what these voiceless consonant sound are: the sounds contained in the sequence of Galician words: "Patacas chouza xefe" (/pˌ tˌ kˌ ʧˌ θˌ sˌ ʃˌ f/. I INSIST THAT THE "/t/" SOUND IS AN EXCEPTION. SEE RULE 3.
2) "-ed" is pronounced "d" after all other consonants and vowel sounds (voiced sounds). THE SOUND /d/ IS AN EXCEPTION. SEE RULE 3.
3) "-ed" is pronounced /ɪd/ when the infinitive form of the verb ends in the sounds /t/ or /d/.