Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

HTML5 vibration API support

I checked on http://caniuse.com/ but can't find anything about compatibility for the vibration API.

Which browsers support it?

like image 420
sdabet Avatar asked Jan 24 '13 09:01

sdabet


People also ask

What is vibration API?

Most modern mobile devices include vibration hardware, which lets software code provide physical feedback to the user by causing the device to shake. The Vibration API offers Web apps the ability to access this hardware, if it exists, and does nothing if the device doesn't support it.

How do you vibrate in Javascript?

The device can be vibrated using the navigator. vibrate() method. Single vibration : To perform a single vibration, an integer can be passed as the parameter. This represents the time in milliseconds for which device will vibrate.


1 Answers

Update [2014-03-07]: The Vibration API is now supported by Firefox, Chrome, and Opera. I've also made this information available on on caniuse.com.


Based on this article:

The Vibration API is still primarily unsupported. Firefox 16+ is currently the only browser with support for the API.

like image 67
Aurelio De Rosa Avatar answered Oct 21 '22 00:10

Aurelio De Rosa