Skip to content

Straas/StraaS-web-player-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 

Repository files navigation

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