Skype Button implementation


(Pierre Froelicher) #1

Hi,
I am trying to put a skype button on my page but somehow it does not work.
Is there a way to accomplish this in Rapidweaver… ?
Yours
Pierre


(Will Woodgate) #2

Hi Pierre,

You can use this free tool to generate a Skype button for your website:
http://www.skype.com/en/create-contactme-buttons/

The code will look something like this:

<script type="text/javascript" src="http://www.skypeassets.com/i/scom/js/skype-uri.js"></script>
<div id="SkypeButton_Call_username_1">
 <script type="text/javascript">
 Skype.ui({
 "name": "call",
 "element": "SkypeButton_Call_username_1",
 "participants": ["username"]
 });
 </script>
</div>

Copy and paste the generated code anywhere into your main content region or a sidebar, of a page in RapidWeaver. Skype buttons work in any HTML or styled text region in RapidWeaver. However if entering it into a styled text region, you’ll want to highlight the code and ignore its formatting in the RapidWeaver Format menu.

Skype buttons do not work in RapidWeaver preview. However when your page is previewed in a normal web browser or published, it should work fine.

Hope this is of help!

-Will.


(Pierre Froelicher) #3

Will, what a quick and competent reply.
I did not mark it as code in the format menu… that’s why it did not work.
But now it works in the Rapidweaver preview… but not on the published site… ??
Any hints what might be wrong on my published site?
Thanks anyway…
-Pierre.


(Will Woodgate) #4

Did you reload the page in your web browser?


(Gregory Barchard) #5

Note that skype only offers their JavaScript over http. This will break sites that use https!


(Pierre Froelicher) #6

Yes I reloaded and switched off caching in Safari. But my site is really https… Could this be the culprit?
Yours
Pierre


(Will Woodgate) #7

If your website uses an SSL certificate then the normal Skype code will not work. But you’ve not given us a link, so we can’t confirm either way.

If your website is SSL encrypted, try changing the first line of your code to the following, to see if Skype has an SSL version of the Javascript:

<script type="text/javascript" src="https://www.skypeassets.com/i/scom/js/skype-uri.js"></script>

That link resolves correctly for me in Chrome, but might act differently in a website.


(Pierre Froelicher) #8

Will,
my site is embatek.com.br
It does not work with https either.
i host this on my own server… Do I have to do something server side… ?


(Pierre Froelicher) #9

Wil…
One has to use https://secure.skypeassets… as a site so that the complete traffic is https encrypted to make skypebuttons work on https secured sites.

`

`