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

前端 未结 5 538
鱼传尺愫
鱼传尺愫 2020-12-24 00:05

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

相关标签:
5条回答
  • 2020-12-24 00:39

    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:

    0 讨论(0)
  • 2020-12-24 00:51
    <a href="skype:echo123?call">Call the Skype Echo / Sound Test Service</a>
    

    According to Skype documentation

    0 讨论(0)
  • 2020-12-24 00:53

    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.

    0 讨论(0)
  • 2020-12-24 01:00

    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.

    0 讨论(0)
  • 2020-12-24 01:01

    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

    0 讨论(0)
提交回复
热议问题