Skip to content

Straas/StraaS-web-player-sdk

gh-pages
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published