@banou/media-player 0.5.1 → 0.6.1
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 +6 -6
- package/build/components/playback-slider.d.ts +2 -0
- package/build/index.js +1159 -1012
- package/build/state-machines/index.d.ts +2503 -1838
- package/build/state-machines/media.d.ts +218 -51
- package/build/state-machines/subtitles.d.ts +3 -0
- package/build/utils/use-local-storage.d.ts +1 -1
- package/package.json +51 -51
- package/src/assets/picture-in-picture.svg +5 -5
- package/src/components/chrome.tsx +95 -95
- package/src/components/control-bar.tsx +333 -327
- package/src/components/overlay.tsx +91 -91
- package/src/components/playback-slider.tsx +174 -0
- package/src/components/progress-bar.tsx +251 -251
- package/src/components/settings.tsx +321 -268
- package/src/components/sound.tsx +100 -100
- package/src/components/tooltip-display.tsx +83 -83
- package/src/components/volume-slider.tsx +156 -156
- package/src/index.tsx +195 -195
- package/src/main.tsx +169 -169
- package/src/state-machines/data-source.ts +84 -84
- package/src/state-machines/index.ts +5 -5
- package/src/state-machines/media-properties.ts +82 -82
- package/src/state-machines/media-source.ts +129 -129
- package/src/state-machines/media.ts +255 -252
- package/src/state-machines/subtitles.ts +285 -269
- package/src/state-machines/thumbnails.ts +123 -123
- package/src/state-machines/utils.ts +94 -94
- package/src/utils/actor-utils.ts +19 -19
- package/src/utils/colors.ts +8 -8
- package/src/utils/context.ts +23 -23
- package/src/utils/fonts.ts +159 -159
- package/src/utils/index.ts +229 -229
- package/src/utils/languages.ts +262 -262
- package/src/utils/mp4box.ts +74 -74
- package/src/utils/time.ts +15 -15
- package/src/utils/use-local-storage.ts +30 -30
- package/src/utils/use-scrub.ts +40 -40
- package/src/utils/volume-utils.ts +39 -39
- package/src/utils/window-height.ts +19 -19
- package/src/vite-env.d.ts +1 -1
- package/tsconfig.json +28 -28
- package/tsconfig.node.json +9 -9
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
## Media Player
|
|
2
|
-
|
|
3
|
-
A player that somehow manages to playback MKV files
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
Todo: add support for multi audio tracks
|
|
1
|
+
## Media Player
|
|
2
|
+
|
|
3
|
+
A player that somehow manages to playback MKV files
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
Todo: add support for multi audio tracks
|