Skip to content

Latest commit

 

History

History
43 lines (36 loc) · 3.9 KB

props.md

File metadata and controls

43 lines (36 loc) · 3.9 KB

Props

This wrapper implements the native methods exposed by the Android and iOS SDK for parsing JSON objects into player configs.

Prop Type Platform Description Default
config object A, I (REQUIRED) JWConfig object
See: Config
undefined
controls boolean A, I Determines if player controls are displayed true



Config

With the exception of license and playlist, all other fields are optional.

See types for a definition of config types defined below

Field Type Platform Additional Notes
license string A, I (REQUIRED) Platform-specific license key
(Android | iOS)
playlist JwPlaylistItem[ ] | string A, I (REQUIRED)
advertising JwAdvertisingConfig A, I
allowCrossProtocolRedirectsSupport boolean A
autostart boolean A, I
displaydescription boolean A, I
displaytitle boolean A
file string A, I
forceLegacyConfig boolean A, I Determines whether to use the legacy configuration settings
logoView JwLogoView A, I
mute boolean A, I
nextupoffset string | number A, I
pid string A, I Unique identifier of the player
playbackRateControls boolean A, I
playbackRates number[ ] A, I
playlistIndex number A, I
preload boolean A, I
related JwRelatedConfig A, I
repeat boolean A, I
sources JwSource[ ] A, I
stretching JwStretching A, I
thumbnailPreview JwThumbnailPreview A, I
uiConfig JwUiConfig A, I
useTextureView boolean A