Update thumbnails API
Created by: jeremco
Hi all
This PR make some improvements on thumbnails API.
-
Update index.d.ts file
-
Rename getThumbnail by provideThumbnail : In some cases (SegmentBase for example), thumbnails are get in a asynchrounous way using callback. In some other cases, thumbnails are get in a synchronous way, using return of function. To uniformize the behaviour, thumbnails are always provided using a callback.
-
Display thumbnails bitrate list in control bar (to test the fact we can choose thumbnails representation)
Jérémie