Help - Search - Members - Calendar
Full Version: embed skype in php website (like web msn)
Skype Community > English > Development, Betas and Skype Garage > Skype Public API
nicholaswc2002_
I would like to embed the skype in my e-learning site. it's using php. I hope the user can open the skype like web msn. I will add some functions in the pages, like schedule, volume control etc. Anyone can tell me how can I do? Are there any samples for my reference?


Thanks,
Nicholas
ppmotskula
Skype is a p2p application and every user must have the Skype Client installed in order to communicate over Skype. This means you can't create a "web-only client".
jbond
This is understandable but a shame. The embedded googletalk chat client in gmail is wondefully useful and clever if you're stuck in an internet cafe.
nicholaswc2002_
install a client in the machine is acceptable. but I hope that I can control the skype in my php webpage. Is it possible?
ppmotskula
i am not aware of anyone having done this, but if you would, then skype client would see the web browser as an application trying to connect to it via the API, and would display a warning message asking whether the user would allow the browser to use the API or not.

so you would also have to warn the user about this warning.
jbond
Let's think about this for a moment. You've got
a) A machine running Skype and logged in as my.server
b) You've got a PHP 5.0 app on this machine connecting to the API via Skype4Com and serving web pages by (say) Apache
c) You've got a remote machine with a web browser talking to Apache and hence the PHP App.

The first time your PHP app attaches, Skype wants approval so you give it for all time. I *think* Skype sees this as either PHP.EXE or Apache and next time it connects it's apparently the same App so doesn't ask again.

Now let's say your PHP app has a form with a Skype name field and a textarea. It could then send a message via the local Skype to another Skype user. This will work fine for commands, but it won't work for callbacks because your php session will probably have finished when the callback comes through.

Does this give you some ideas for approaches?
uniquex
A Skype-Webclient is possible!

Here you can see an old alpha-version:
http://www.skyperunners.com/chat/

The version is 'deactivated' for now, because we had some evil/strange problems.
The most important problem was: the server power!
If you would like to create a realtime skype-chat you need a multi-instance skype client.
We found a solution to handle up to 10 users via just one skype-account, but thats (our) maximum!

Finally we had problems after problems.. so we decided to stop the project (maybe it would be the right time to try it with the new NetAPI again) and 'just' finished the (oneway) Instant conversation tool:
http://www.skyperunners.com/instant

Regards
Markus
ppmotskula
Now I see your point, jbond smile.png I kept in mind the idea that Skype is not only a text chat app, but also offers audio. And this is something for what you need a locally installed client.
uniquex
[quote]And this is something for what you need a locally installed client.[/quote]
Not right!
Record the audiodata via streamrecorder (live from the net), parse it to a local Skypeclient, transfer it to the finaluser.

Works, without having a client installed!
Jyotsna Ch
Hi uniquex,

Your links http://www.skyperunners.com/chat/ or http://www.skyperunners.com/instant neither works. Can you give me link where I can see information about embedding the Skype into webpage.

Thanks,
Jyotsna.
TheUberOverlord
QUOTE (Jyotsna Ch @ Fri Jun 27 2008, 16:00)
Go to the original post
Hi uniquex,

Your links http://www.skyperunners.com/chat/ or http://www.skyperunners.com/instant neither works. Can you give me link where I can see information about embedding the Skype into webpage.

Thanks,
Jyotsna.


Those links seem down.

I Think what is being said here is that you would still need 1 Skype client for every Skype Name being used on the server running, do you understand that?

Currently, A web based ASP/HTML/php/JavaScript/VBscript fully functional Skype Client without using a Skype client for every logged in Skype Name on the server is not possible at this time.

However, you can use ActiveX and Skype4COM and JavaScript/VBScript in web pages that will use the Skype clients of your users who use Windows and an Internet Explorer Browsed when/if that Skype user approves.
uniquex
Take a look here: Instant Skype 2.0 Beta!



..soon available in english
my-dream-world
hi i saw your message.. and wondering if you could show me where to do that.. i am working in this online dating site and i uploaded the skype on our chat but wondering if i could also add the embed code of google... thanks jo
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.