No description, website, or topics provided.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
demo
README.md

README.md

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/2.1.0/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