This guide covers significant changes made for TOP in the 1.0.2 release:
TOP before 1.0.2 must update items specified hereSome breaking changes were made in version 1.0.2. Anyone using version 1.0.1 and lower will need to make minor updates. The breaking changes are the following:
Prior to 1.0.2, configuration of features were done on the player config and it expected an Array of objects:
var player = TOP.createAndInitPlayer({
config : {
player : {
features : [
{
name : 'mediaAcceleration',
value : 'true'
}
]
}
}
});In 1.0.2, configuration of features has been moved up a level and features now expects an Object. Each feature can accept a Boolean or an Object (Note, 'quic' is the default media acceleration type):
var player = TOP.createAndInitPlayer({
config: {
features : {
mediaAcceleration : true
}
}
});See Features for more on available feature configuration options