Html5 Camera API
Javascrip Mobile Vibration API
Syntax:
var successBool = window.navigator.vibrate(pattern);
if ("vibrate" in navigator) {
// vibration API supported
}
first check if supported by browser or not
Mostly Supported by mobile devices Try In mobile
0 comments:
Post a Comment