@banou/media-player 0.7.0 → 0.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -96,8 +96,9 @@ const jassubWorkerUrl = URL.createObjectURL(
96
96
  )
97
97
  ```
98
98
 
99
- The chrome is sized in `rem` against a **62.5% root font size**. Set `html { font-size: 62.5% }` or
100
- every control renders 1.6x too large.
99
+ The chrome brings its own scale and needs nothing from the host page's root font. Everything is sized
100
+ against `--mp-unit`, which defaults to `10px` on the player element; set it there to rescale the whole
101
+ chrome at once.
101
102
 
102
103
  ## What it does
103
104
 
package/dist/index.d.ts CHANGED
@@ -1,5 +1,7 @@
1
1
  export { MediaPlayer, default } from './react/video-player';
2
- export type { MediaPlayerOptions, MediaPlayerSource } from './react/video-player';
2
+ export type { MediaPlayerOptions, MediaPlayerLocalOptions, MediaPlayerRemoteOptions, MediaPlayerSource, } from './react/video-player';
3
+ export { isDelegatedTracks, isExternalThumbnails } from './react/media';
4
+ export type { DelegatedSelection, DelegatedTracks, ExternalThumbnails, PlayerMedia, TimeRangesLike, } from './react/media';
3
5
  export { Player, usePlayer } from './react/player';
4
6
  export type { PlayerStore } from './react/player';
5
7
  export { sourceFeature } from './react/source-feature';