|
Comunitatea uCoz Altele Instrumente şi Script-uri Script videocheat. |
Script videocheat. |
Ma poate cineva ajuta cu un script videocheat. Daca sar putea acesta e pe siteul asta: http://www.radiostudent.md/
Am incercat de multe ori dar nu imi reuseste sal pun. Rog sa ma ajutati. Adăugat (01/08/2013, 11:01 AM) |
Flavi, eu am site pe ucoz uitete http://radio-md.ucoz.com/
Raver, as vrea acest script: http://s21.postimg.org/8if0ekik7/wep.jpg am incercat sal pun dar nu mergea nustiu dc. Faceam asa cum spuneu ei pe site-ul http://tokbox.com/platform Var og tare mult s ama ajutati. imi trebue neaparat! Merci anticipat. Adăugat (02/08/2013, 8:19 AM) |
flame, Urmeaza pasi urmatori dupa imagine
1. Introduce codul respectiv intre <head> ... </head> Cod <script src='https://swww.tokbox.com/webrtc/v2.0/js/TB.min.js'></script> 2.Introduce codul de mai jos intre <body> ... </body> Cod <div id="myPublisherDiv"></div> <script type="text/javascript"> // Initialize API key, session, and token... // Think of a session as a room, and a token as the key to get in to the room // Sessions and tokens are generated on your server and passed down to the client var apiKey = "37032842"; var sessionId = "2_MX4zNzAzMjg0Mn4xMjcuMC4wLjF-RnJpIEF1ZyAwMiAwMTowNTowOSBQRFQgMjAxM34wLjUyNTc5MX4"; var token = "T1==cGFydG5lcl9pZD0zNzAzMjg0MiZzZGtfdmVyc2lvbj10YnJ1YnktdGJyYi12MC45MS4yMDExLTAyLTE3JnNpZz1mNWEzOGM0YmNjOWEwMTI5NDg4NDg4M2MxODdmOTZkMTQ2ZDV kN2I5OnJvbGU9cHVibGlzaGVyJnNlc3Npb25faWQ9Ml9NWDR6TnpBek1qZzBNbjR4TWpjdU1DNHdMakYtUm5KcElFRjFaeUF3TWlBd01Ub3dOVG93T1NCUVJGUWdNakF4TTM0d0xqVXl OVGM1TVg0JmNyZWF0ZV90aW1lPTEzNzU0MzA3MDkmbm9uY2U9MC42MTU5MTk3NzY3NzAzMTMyJmV4cGlyZV90aW1lPTEzNzU1MTcxMTEmY29ubmVjdGlvbl9kYXRhPQ=="; // Initialize session, set up event listeners, and connect var session = TB.initSession(sessionId); session.addEventListener('sessionConnected', sessionConnectedHandler); session.connect(apiKey, token); function sessionConnectedHandler(event) { var publisher = TB.initPublisher(apiKey, 'myPublisherDiv'); session.publish(publisher); } </script> 3.Deschizi pagina a Browser-ul si iti va cere permisiunea de a se conecta la videocamera ta si cred ca dupa cateva secunde ar trebui sa apara fluxul video ! Bafta |
flame, nustiu cel putin asa spun reprezentanti TokBox ca functioneaza
http://www.youtube.com/watch?v=s_JY90LtdcA |
| |||
| |||