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

Which browsers support it?

有帮助吗?

解决方案

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.

其他提示

According to Mozilla Developer Network it is supported in Chrome with prefix webkit, in Firefox 11+ with prefix moz and in Firefox 16+ without any prefix.

But as you can check in this Issue in Chromium as of now it is not supperted in Chrome and they seem to be in no hurry as Priority is 2(Normal).

It is not supported in Android strock browser as of now.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top