Skip to content

Changelog on 1.2.0

Compare
Choose a tag to compare
@liuruenshen liuruenshen released this 24 May 07:39
· 58 commits to gh-pages since this release

SDK URL

https://app.straas.net/sdk/1.2.0/player-sdk.js

New feature "I18N"

player = new Player('#player', {
  type: Player.Type.VIDEO,
  id: '84HhWLCK',                        // requirement, replace by yours
  accountId: 'straas.io',                // requirement, replace by yours
  token: '',
  playerVars: {
    loop: Player.Loop.YES,
    autoplay: Player.Autoplay.YES,
    muted: Player.Muted.YES,
  }},
  language: 'zh-TW'
)

Add new key named "language" in options which supplied for Player constructor
This version support two locales:

  • zh-TW
  • en-US

Autoplay function on Android ( chrome 53+ ) does function now

Chrome 53+ on Android requires to play in muted if the app turns on autoplay function
We implement the rule for all kind of browsers on Android devices

The issue that player crash on private browsing mode of Safari has been fixed