Ulvaeus and Andersson made cameos in both films. In the first "Mamma Mia" movie, Andersson played the piano on the dock while the cast performed "Dancing Queen." Ulvaeus appeared in the ending credits as a Greek god during the cast's performance of "Waterloo."