Added a listener to allow the player to tell its playermodule that it has finished playing