Files
DoEverythingBar/test.html
T
Arjun Patel 7e0f356838 almost final
problems with implementing skype call api with automatic button press
2017-10-08 03:50:23 -07:00

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>