StraaS SDK

DEMO

https://straas.github.io/StraaS-web-player-sdk/demo/

Getting Started

Prepare HTML, for instance index.html

<div id="player"></div>

<script src="https://app.straas.net/sdk/3.5.13/player-sdk.js"></script>
<script src="./index.js"></script>

Prepare your initialization script, for instance index.js

var playerInstance
window['StraaSOnInit'] = function() {
  var StraaS = window.StraaS

  var Player = StraaS.Player

  playerInstance = new Player('#player', Argument2)
}

for more Argument2 detail please visit WIKI