7e0f356838
problems with implementing skype call api with automatic button press
35 lines
1.1 KiB
HTML
35 lines
1.1 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
|
|
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script></head>
|
|
<body>
|
|
<script type="text/javascript" src="https://secure.skypeassets.com/i/scom/js/skype-uri.js"></script>
|
|
<div id="SkypeButton_Call_justinkimchi77_1">
|
|
<script type="text/javascript">
|
|
var friend = "justinkimchi77";
|
|
function skypeCall(str) {
|
|
Skype.ui({
|
|
"name": "call",
|
|
"element": "SkypeButton_Call_justinkimchi77_1",
|
|
"participants": [str]
|
|
});
|
|
}
|
|
skypeCall(friend);
|
|
jQuery('body').trigger("click");
|
|
</script>
|
|
</div>
|
|
</form>
|
|
<!--<div id="SkypeButton_Call_justinkimchi77_1">
|
|
<script type="text/javascript">
|
|
Skype.ui({
|
|
"name": "call",
|
|
"element": "SkypeButton_Call_justinkimchi77_1",
|
|
"participants": ["justinkimchi77"]
|
|
});
|
|
</script>
|
|
</div> --->
|
|
</body>
|
|
|
|
</html>
|