prevents mobile safari from playing before data is there