HTML5 input type to trigger facetime for mobile phone

875 views Asked by At

Based on my research I haven't found a solution but a client wants to have their mobile site trigger Facetime on their user's phone (iPhone). I know skype works fine but for people on the go we would lke this functionality. Has anyone encountered this or have a clever work around?

This is what I am using:

<input type="tel" placeholder="xxx-xxx-xxxx" />

Thinking something like this: (use tel as a fallback..)

<input type="tel vidtel" placeholder="xxx-xxx-xxxx" />

Does this exist? Thanks!

1

There are 1 answers

1
ozke On

Apparently you can use a URL Scheme.

<a href="facetime:14085551234">Connect using FaceTime</a>
<a href="facetime:[email protected]">Connect using FaceTime</a>

Source: https://developer.apple.com/library/ios/featuredarticles/iPhoneURLScheme_Reference/FacetimeLinks/FacetimeLinks.html