You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+98-68Lines changed: 98 additions & 68 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,12 +18,17 @@
18
18
19
19
## Overview
20
20
21
-
MediaPlayer-KMP is a Kotlin Multiplatform (KMP) library that allows you to display and play YouTube videos across Android, iOS, Web, and Desktop platforms using JetBrains Compose Multiplatform. It provides a unified API for video playback that seamlessly integrates into Kotlin's multiplatform ecosystem.
21
+
MediaPlayer-KMP is a Kotlin Multiplatform (KMP) library that allows you to display and play YouTube
22
+
videos across Android, iOS, Web, and Desktop platforms using JetBrains Compose Multiplatform. It
23
+
provides a unified API for video playback that seamlessly integrates into Kotlin's multiplatform
24
+
ecosystem.
22
25
23
26
## Features
24
27
25
-
-**Platform Agnostic:** Supports Android, iOS, Web, and Desktop platforms through Kotlin Multiplatform.
url = "https://www.youtube.com/watch?v=AD2nEllUMJw", // Automatically Detect the URL, Wether to Play YouTube Video or .mp4 e.g
80
+
showControls: Boolean = true,
81
+
)
74
82
}
75
83
```
76
84
77
-
### Video Player
78
-
For the YouTube Player, you just need to provide the youtube video link. It will automatically detect it & will launch the YouTube Player. It almost supports all the video extensions.
85
+
### Video Player
86
+
87
+
For the YouTube Player, you just need to provide the youtube video link. It will automatically
88
+
detect it & will launch the YouTube Player. It almost supports all the video extensions.
url ="https://freetestdata.com/wp-content/uploads/2022/02/Free_Test_Data_1MB_MP4.mp4", // Automatically Detect the URL, Wether to Play YouTube Video or .mp4 e.g
url = "https://freetestdata.com/wp-content/uploads/2022/02/Free_Test_Data_1MB_MP4.mp4", // Automatically Detect the URL, Wether to Play YouTube Video or .mp4 e.g
96
+
showControls: Boolean = true,
97
+
)
87
98
}
88
99
```
89
100
90
101
## Audio Player Support
91
-
Audio Player Support is Implemented. It supports `mp3``wav``aac``ogg``m4a`. It Supports Play Back, Volume Up, Down and Stability as well.
102
+
103
+
Audio Player Support is Implemented. It supports `mp3``wav``aac``ogg``m4a`. It Supports Play
[](https://github.com/KhubaibKhan4/MediaPlayer-KMP/network/members)
203
225
226
+
## Contribution Guidelines
204
227
205
-
## Contribution Guidelines
206
-
We welcome contributions to the MediaPlayer-KMP Library Project! To contribute, please follow these guidelines:
228
+
We welcome contributions to the MediaPlayer-KMP Library Project! To contribute, please follow these
229
+
guidelines:
207
230
208
-
-**Reporting Bugs**: If you encounter a bug, please open an issue and provide detailed information about the bug, including steps to reproduce it.
209
-
-**Suggesting Features**: We encourage you to suggest new features or improvements by opening an issue and describing your idea.
210
-
-**Submitting Pull Requests**: If you'd like to contribute code, please fork the repository, create a new branch for your changes, and submit a pull request with a clear description of the changes.
231
+
-**Reporting Bugs**: If you encounter a bug, please open an issue and provide detailed information
232
+
about the bug, including steps to reproduce it.
233
+
-**Suggesting Features**: We encourage you to suggest new features or improvements by opening an
234
+
issue and describing your idea.
235
+
-**Submitting Pull Requests**: If you'd like to contribute code, please fork the repository, create
236
+
a new branch for your changes, and submit a pull request with a clear description of the changes.
211
237
212
238
## Support Us:
213
-
- We need your support for doing more open source contributions.
239
+
240
+
- We need your support for doing more open source contributions.
214
241
215
242
## Code of Conduct
216
-
We expect all contributors and users of the Alert-KMP Library Project to adhere to our code of conduct. Please review the [Code of Conduct](CODE_OF_CONDUCT.md) for details on expected behavior and reporting procedures.
243
+
244
+
We expect all contributors and users of the Alert-KMP Library Project to adhere to our code of
245
+
conduct. Please review the [Code of Conduct](CODE_OF_CONDUCT.md) for details on expected behavior
0 commit comments