Is there an href attribute for skype, like “mailto:” or “tel:”?

被刻印的时光 ゝ 提交于 2019-12-03 04:00:50

问题


I am looking to make a skype link for a mobile site, is there a way use <a href=" to make it launch skype and add or call a user?


回答1:


If your mobile site is (generally) used by iOS devices, you can use :

<a href="skype:YourSkypeName?call">Call me on Skype</a>

Apple iOS devices automatically recognizes intents in link with Skype and FaceTime.




回答2:


You can use skype:<username|phonenumber>[?[add|call|chat|sendfile|userinfo]] or callto:<screenname|phonenumber>, according to this wikipedia page:

http://en.wikipedia.org/wiki/URI_scheme#callto:




回答3:


To turn your skype id into a link so people can add you to their contact list use the following:

<a href="skype:SKYPENAME?add">SKYPENAME</a>

Replacing SKYPENAME with your own of course.




回答4:


<a href="skype:echo123?call">Call the Skype Echo / Sound Test Service</a>

According to Skype documentation




回答5:


You can use <a href="skype:-skype-name-?chat">Start chat</a>

Allowed query parameters:

chat - start a chat

call - start a call

add - add person to the contacts

userinfo - view user's profile

voicemail - leave a voice message

sendfile - send a file



来源:https://stackoverflow.com/questions/11598925/is-there-an-href-attribute-for-skype-like-mailto-or-tel

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!