Todd1
(Todd)
February 2, 2016, 5:06pm
1
I’m looking for a way to serve the appropriate protocol depending on the device: “tel” for mobile and “callto” for desktop (i.e., telephony services like Skype etc.).
I tried
<a href="<? echo ($detect->isMobile()) ? 'tel' : 'callto'; ?> :+1-555-555-1212”>555-555-1212</a>
but I’m having trouble with it. Not sure why.
Todd
dynamo mailing list
email@hidden
Update your subscriptions at:
The purpose of this topic is to provide information about the migration from FreewayTalk and Groups io to Discourse and the differences in Discourse, as well as a place to discuss the good or bad of the migration. For those previously subscribing...
Reading time: 2 mins 🕑
Likes: 1 ❤
Do you need to go to those lengths?
My understanding is that if you use tel: then desktops will
“Desktop browsers that don’t support voice calls will open the default telephony app on the computer”
According to Google Developers.
D
dynamo mailing list
email@hidden
Update your subscriptions at:
The purpose of this topic is to provide information about the migration from FreewayTalk and Groups io to Discourse and the differences in Discourse, as well as a place to discuss the good or bad of the migration. For those previously subscribing...
Reading time: 2 mins 🕑
Likes: 1 ❤
Sorry - should ave provide a link.
https://developers.google.com/web/fundamentals/native-hardware/click-to-call/?hl=en
dynamo mailing list
email@hidden
Update your subscriptions at:
The purpose of this topic is to provide information about the migration from FreewayTalk and Groups io to Discourse and the differences in Discourse, as well as a place to discuss the good or bad of the migration. For those previously subscribing...
Reading time: 2 mins 🕑
Likes: 1 ❤
Todd1
(Todd)
February 2, 2016, 8:32pm
4
Oh, I wasn’t aware of that. Makes things easier.
Thanks.
dynamo mailing list
email@hidden
Update your subscriptions at:
The purpose of this topic is to provide information about the migration from FreewayTalk and Groups io to Discourse and the differences in Discourse, as well as a place to discuss the good or bad of the migration. For those previously subscribing...
Reading time: 2 mins 🕑
Likes: 1 ❤