So im buiding a little quiz game using php, jQuery etc. I have maded it so each player uses his or hers smartphone as a "buzzer" button. And the i was wondering if it is possible to make the phone vibrate to give the user a nicer feedback of pressen the button.
I found a vibrate API but iOS is not supporting it (i have an iphone to test it)
It is the only thing i could found about it, someone know something else?
You can always use Phonegap/Cordova to pack the web content into a native app. Then you'll have access to all (or most) of the native phone features.
Bear in mind that using JS for vibration is still widely unsupported while the native thing will work on everything.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With