Put autplay in ther wrong function.