【问题标题】:how to make a skype call from webpage with dynamic phoe number如何使用动态电话号码从网页拨打 Skype 电话
【发布时间】:2013-06-24 07:56:46
【问题描述】:

我从skype dev site找到了代码

来自我网页的电话:

Skype.ui({
    name: "call",
    element: "skypeButton",
    participants: ["+390852298965"],
    imageSize: 32
});

但我需要使用从文本框中恢复的动态电话号码拨打电话,例如:

Skype.ui({
    name: "call",
    element: "skypeButton",
    participants: function () {
        return [$("#phonenumber").val()];
    },
    imageSize: 32
});

但此代码不起作用... 希望有人可以帮助我!

提前致谢!

【问题讨论】:

    标签: javascript skype


    【解决方案1】:

    嘿,试试类似的东西

     var var={
            name: "call",
            element: "skypeButton",
            participants: ["+390852298965"],
            imageSize: 32
        };
        var.participants=[$("#phonenumber").val()];
        Skype.ui(var);
    

    【讨论】:

      猜你喜欢
      • 2017-11-26
      • 1970-01-01
      • 1970-01-01
      • 2016-08-11
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多