Readme render
This commit is contained in:
Родитель
d09ae04f67
Коммит
ea661b5a91
20
README.md
20
README.md
|
@ -4,21 +4,21 @@ You'll need a pro version subscription on your Furioos interface in order to use
|
|||
Then choose the app you want to use with the SDK and share it as SDK link.
|
||||
|
||||
## Installation
|
||||
```npm install --save furioos-sdk```
|
||||
```npm install --save furioos-sdk```
|
||||
|
||||
## Exemple
|
||||
You should copy past your link previously you got in your Furioos interface.
|
||||
|
||||
```js
|
||||
import { Player } from 'furioos-sdk';
|
||||
|
||||
const player = new Player({sdkShareLink}, {containerDivId});
|
||||
```js
|
||||
import { Player } from 'furioos-sdk';
|
||||
|
||||
const player = new Player({sdkShareLink}, {containerDivId});
|
||||
|
||||
player.onLoad(function() {
|
||||
// Here you know when the player is ready.
|
||||
player.startSession();
|
||||
})
|
||||
```
|
||||
player.onLoad(function() {
|
||||
// Here you know when the player is ready.
|
||||
player.startSession();
|
||||
})
|
||||
```
|
||||
|
||||
## Methods
|
||||
### constructor(sdkShareLink, containerDivId)
|
||||
|
|
Загрузка…
Ссылка в новой задаче