@jwplayer/jwplayer-react-native 1.3.4 → 1.4.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 +23 -0
- package/RNJWPlayer.podspec +6 -1
- package/android/build.gradle +24 -15
- package/ios/RNJWPlayer/RCTConvert+RNJWPlayer.swift +3 -3
- package/ios/RNJWPlayer/RNJWPlayerView.swift +18 -3
- package/ios/RNJWPlayer/RNJWPlayerViewManager.swift +24 -3
- package/package.json +1 -1
- package/.github/CODEOWNERS +0 -2
- package/.github/ISSUE_TEMPLATE/bug_report.md +0 -48
- package/.github/ISSUE_TEMPLATE/feature_request.md +0 -30
- package/.github/ISSUE_TEMPLATE/implement.md +0 -26
- package/.github/ISSUE_TEMPLATE/question.md +0 -21
- package/.github/PULL_REQUEST_TEMPLATE.md +0 -15
- package/CODE_OF_CONDUCT.md +0 -128
- package/badges/license.svg +0 -1
- package/badges/version.svg +0 -1
- package/docs/CONFIG-REFERENCE.md +0 -747
- package/docs/MIGRATION-GUIDE.md +0 -617
- package/docs/PLATFORM-DIFFERENCES.md +0 -693
- package/docs/legacy_readme.md +0 -634
- package/docs/props.md +0 -55
package/docs/props.md
DELETED
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
# Props
|
|
2
|
-
|
|
3
|
-
This wrapper implements the native methods exposed by the [Android](https://sdk.jwplayer.com/android/v4/reference/com/jwplayer/pub/api/JsonHelper.html) and [iOS](https://sdk.jwplayer.com/ios/v4/reference/Classes/JWJSONParser.html) SDK for parsing JSON objects into player configs.
|
|
4
|
-
|
|
5
|
-
## Component Props
|
|
6
|
-
|
|
7
|
-
| Prop | Type | Platform | Description | Default |
|
|
8
|
-
| --- | --- | --- | --- | --- |
|
|
9
|
-
| `config` | object | A, I | **(REQUIRED)** `JWPlayerConfig` or `Config` object<br />See: [Configuration Reference](./CONFIG-REFERENCE.md) | `undefined` |
|
|
10
|
-
| `controls` | boolean | A, I | Determines if player controls are displayed | `true` |
|
|
11
|
-
|
|
12
|
-
<br /><br />
|
|
13
|
-
|
|
14
|
-
## Configuration Documentation
|
|
15
|
-
|
|
16
|
-
📚 **Complete documentation is now available in separate guides:**
|
|
17
|
-
|
|
18
|
-
- **[Configuration Reference](./CONFIG-REFERENCE.md)** - Complete field reference with examples
|
|
19
|
-
- **[Platform Differences](./PLATFORM-DIFFERENCES.md)** - iOS vs Android feature comparison
|
|
20
|
-
- **[Migration Guide](./MIGRATION-GUIDE.md)** - Upgrading to unified types
|
|
21
|
-
|
|
22
|
-
<br />
|
|
23
|
-
|
|
24
|
-
## Config
|
|
25
|
-
With the exception of `license` and one of (`file`, `sources`, or `playlist`), all other fields are optional.
|
|
26
|
-
|
|
27
|
-
See the [Configuration Reference](./CONFIG-REFERENCE.md) for complete documentation of all configuration options.
|
|
28
|
-
|
|
29
|
-
| Field | Type | Platform | Additional Notes |
|
|
30
|
-
| --- | --- | --- | --- |
|
|
31
|
-
| `license` | string |A, I | **(REQUIRED)** Platform-specific license key<br />([Android](https://docs.jwplayer.com/players/docs/android-overview#requirements) \| [iOS](https://docs.jwplayer.com/players/docs/ios-overview#requirements))|
|
|
32
|
-
| [`playlist`](https://docs.jwplayer.com/players/reference/setup-options#playlist) | JwPlaylistItem[ ] | string | A, I | **(REQUIRED)** |
|
|
33
|
-
| [`advertising`](https://docs.jwplayer.com/players/reference/advertising-config-ref) |JwAdvertisingConfig | A, I | |
|
|
34
|
-
| `allowCrossProtocolRedirectsSupport` | boolean | A | |
|
|
35
|
-
| [`autostart`](https://docs.jwplayer.com/players/reference/setup-options#autostart) | boolean | A, I | |
|
|
36
|
-
| [`displaydescription`](https://docs.jwplayer.com/players/reference/setup-options#displaydescription) | boolean| A, I | |
|
|
37
|
-
| [`displaytitle`](https://docs.jwplayer.com/players/reference/setup-options#displaytitle) | boolean | A | |
|
|
38
|
-
| [`file`](https://docs.jwplayer.com/players/reference/playlists#file) | string | A, I | |
|
|
39
|
-
| `forceLegacyConfig` | boolean | A, I | Determines whether to use the legacy configuration settings |
|
|
40
|
-
| `logoView` | JwLogoView | A, I | |
|
|
41
|
-
| [`mute`](https://docs.jwplayer.com/players/reference/setup-options#mute) | boolean | A, I | |
|
|
42
|
-
| [`nextupoffset`](https://docs.jwplayer.com/players/reference/setup-options#nextupoffset) | string | number | A, I | |
|
|
43
|
-
| `pid` | string | A, I | Unique identifier of the player |
|
|
44
|
-
| [`playbackRateControls`](https://docs.jwplayer.com/players/reference/setup-options#playbackratecontrols) | boolean | A, I | |
|
|
45
|
-
| [`playbackRates`](https://docs.jwplayer.com/players/reference/setup-options#playbackrates)|number[ ] | A, I | |
|
|
46
|
-
| [`playlistIndex`](https://docs.jwplayer.com/players/reference/setup-options#playlistIndex) | number | A, I | |
|
|
47
|
-
| [`preload`](https://docs.jwplayer.com/players/reference/setup-options#preload) | boolean | A, I | |
|
|
48
|
-
| [`related`](https://docs.jwplayer.com/players/reference/related-config-ref) | JwRelatedConfig | A, I | |
|
|
49
|
-
| [`repeat`](https://docs.jwplayer.com/players/reference/setup-options#repeat) | boolean | A, I | |
|
|
50
|
-
| [`sources`](https://docs.jwplayer.com/players/reference/playlists#playlistsources) | JwSource[ ] | A, I | |
|
|
51
|
-
| [`stretching`](https://docs.jwplayer.com/players/reference/setup-options#stretching) | JwStretching | A, I | |
|
|
52
|
-
| `thumbnailPreview` | JwThumbnailPreview| A, I | |
|
|
53
|
-
| `uiConfig` | JwUiConfig | A, I | |
|
|
54
|
-
| `useTextureView` | boolean | A | |
|
|
55
|
-
|