mirror of
https://github.com/kmoskwiak/videojs-resolution-switcher.git
synced 2025-10-03 09:49:21 +02:00
groupedSrc method, Readme
This commit is contained in:
parent
7250a1dcee
commit
0c390b3f2e
2 changed files with 50 additions and 1 deletions
|
@ -195,6 +195,10 @@
|
|||
return player;
|
||||
};
|
||||
|
||||
/**
|
||||
* Returns grouped sources by label, resolution and type
|
||||
* @returns {Object} grouped sources: { label: { key: [] }, res: { key: [] }, type: { key: [] } }
|
||||
*/
|
||||
player.getGroupedSrc = function(){
|
||||
return groupedSrc;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue