Changelog on 1.2.0
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