Skip to content

Commit d2ba747

Browse files
authored
🔀 Merge pull request #457 from vinceglb/update-docs-integrations
📝 Update docs integrations
2 parents e24a71a + 05a376b commit d2ba747

File tree

4 files changed

+80
-4
lines changed

4 files changed

+80
-4
lines changed

docs/docs.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@
1818
"pages": [
1919
"introduction",
2020
"quickstart",
21-
"installation",
22-
"migrate-to-v0.10"
21+
"installation"
2322
]
2423
},
2524
{
@@ -51,7 +50,9 @@
5150
{
5251
"group": "Integrations",
5352
"pages": [
54-
"integrations/coil"
53+
"integrations/coil",
54+
"integrations/krop",
55+
"integrations/compose-media-player"
5556
]
5657
}
5758
]

docs/integrations/coil.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: 'Coil Integration'
2+
title: 'Coil 3'
33
description: 'Load and display images from PlatformFile using Coil'
44
---
55

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
---
2+
title: 'Compose Media Player'
3+
description: 'Video player library with FileKit support'
4+
---
5+
6+
<Frame>
7+
<img
8+
src="https://github.com/kdroidFilter/ComposeMediaPlayer/blob/master/assets/banner.jpg?raw=true"
9+
alt="Compose Media Player Banner"
10+
/>
11+
</Frame>
12+
13+
<Card title="Compose Media Player Documentation" icon="book" href="https://github.com/kdroidFilter/ComposeMediaPlayer">
14+
View setup instructions and usage examples on GitHub
15+
</Card>
16+
17+
**Compose Media Player** is a feature-rich video player library designed for Compose Multiplatform. It offers comprehensive media playback capabilities:
18+
19+
- **Multi-platform support** - Android, iOS, macOS, Windows, Linux, and WASM
20+
- **Playback controls** - Play, pause, seek, volume, and playback speed
21+
- **Subtitle support** - SRT and VTT formats with customizable styling
22+
- **Fullscreen mode** - Native fullscreen support across platforms
23+
- **Metadata extraction** - Access video title, duration, resolution, and more
24+
- **Audio visualization** - Left/right channel level monitoring
25+
26+
## Platforms
27+
28+
Compose Media Player supports Android, iOS, macOS, Windows, Linux, JS, and WASM targets.
29+
30+
## FileKit Integration
31+
32+
Compose Media Player has native support for FileKit's `PlatformFile` through the `openFile()` method:
33+
34+
- Pick video files with FileKit's file picker
35+
- Play them directly using `playerState.openFile(platformFile)`
36+
37+
For setup instructions and usage examples, visit the [Compose Media Player documentation](https://github.com/kdroidFilter/ComposeMediaPlayer).
38+

docs/integrations/krop.mdx

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
---
2+
title: 'Krop'
3+
description: 'Image cropping library with FileKit support'
4+
---
5+
6+
<Frame>
7+
<img
8+
src="https://raw.githubusercontent.com/tamimattafi/krop/refs/heads/main/art/preview.gif"
9+
alt="Krop Preview"
10+
/>
11+
</Frame>
12+
13+
<Card title="Krop Documentation" icon="book" href="https://github.com/tamimattafi/krop">
14+
View setup instructions and usage examples on GitHub
15+
</Card>
16+
17+
**Krop** is a powerful image cropping library designed specifically for Compose Multiplatform. It provides a rich set of features including:
18+
19+
- **Custom shapes** - Crop images to various shapes (rectangle, circle, custom paths)
20+
- **Aspect ratios** - Lock or freely adjust crop aspect ratios
21+
- **Transformations** - Pan, zoom, and rotate images
22+
- **Large image support** - Efficiently handle high-resolution images
23+
- **Auto zoom** - Smart zooming to fit the crop area
24+
25+
## Platforms
26+
27+
Krop supports Android, iOS, macOS, JVM, JS, and WASM targets.
28+
29+
## FileKit Integration
30+
31+
Krop provides an official FileKit extension module (`com.attafitamim.krop:extensions-filekit`) that enables seamless integration between the two libraries:
32+
33+
- **`PlatformFile.toImageSrc()`** - Converts a FileKit `PlatformFile` to Krop's `ImageSrc` for cropping
34+
- Pick images with FileKit, crop them with Krop, and save the results back using FileKit
35+
36+
For setup instructions and usage examples, visit the [Krop documentation](https://github.com/tamimattafi/krop).
37+

0 commit comments

Comments
 (0)