Implementing a Skype button in my project using AngularJS has been challenging. Here is the code I am currently working with:
HTML:
<script type="text/javascript" src="http://www.skypeassets.com/i/scom/js/skype-uri.js"></script>
<skype-ui id="SkypeButton_Call_1" participants="participants">
</skype-ui>
AngularJs:
app.directive("skypeUi", function () {
return {
restrict: "E",
template: "<div></div>",
replace: true,
scope: {
participants: "="
},
link: function (scope, element, attrs) {
Skype.ui({
"name": "chat",
"element": attrs.id,
"participants": scope.participants,
"imageSize": 32
});
}
};
});
When attempting to use the Skype button, it opens a Skype window but displays an error message stating: "Please install Skype application in order to make this call or send a message." Despite having Skype installed on my system already, this message persists. Can someone shed light on why this issue is occurring?