videojs-contrib-quality-levels
Version:
Exposes a list of quality levels available for the source.
39 lines (38 loc) • 499 B
JavaScript
export const representations = [
{
id: '0',
width: 100,
height: 100,
bandwidth: 100,
enabled() {
return true;
}
},
{
id: '1',
width: 200,
height: 200,
bandwidth: 200,
enabled() {
return true;
}
},
{
id: '2',
width: 300,
height: 300,
bandwidth: 300,
enabled() {
return true;
}
},
{
id: '3',
width: 400,
height: 400,
bandwidth: 400,
enabled() {
return true;
}
}
];