fix play bug for safari