2017 © Pedro Peláez
 

library screenleap-wrapper

ScreenLeap API Wrapper

image

arilas/screenleap-wrapper

ScreenLeap API Wrapper

  • Wednesday, May 28, 2014
  • by Arilas
  • Repository
  • 1 Watchers
  • 0 Stars
  • 35 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Arilas ScreenLeap Wrapper

ScreenLeap is a Service that allows you to share desktop with other users, (*1)

Example of usage

Add to composer.json in require section:, (*2)

js "arilas/screenleap-wrapper": "dev-master", (*3)

Run composer update, (*4)

If you use ZF2 add importing module to application.config.php file: 'Arilas\ScreenLeap', (*5)

### Setting Configuration: To global.php add the following code block:, (*6)

`````php, (*7)

 'arilas' => [
     'screenleap' => [
         'accountId' => 'your account id',
         'token' => 'your auth token',
     ],
 ],

`````, (*8)

### Starting Desktop Sharing: Receive ScreenLeap service instance from ServiceLocator: php $screenLeapService = $serviceLocator->get('arilas.screenleap');, (*9)

Get Sharing:, (*10)

php $share = $screenLeapService->shareScreen();, (*11)

Result have methods:, (*12)

  • getViewerUrl() - url that viewer may use to see screen
  • getAppletHtml() - code block, that appends to your HTML for start Screen Sharing

The Versions

28/05 2014

dev-master

9999999-dev

ScreenLeap API Wrapper

  Sources   Download

MIT

The Requires

 

The Development Requires