avoid js error when playerElement is null
trigger "sourcesReplaced" whenever player sources are replaced