This demo uses the Vibration API. Check CanIUse.com for current browser support.
Currently Apple does not allow developer access to the vibration/haptic hardware on iOS devices.