Skip to main content

Video

<Video
firstFrameImageId={video.id}
videoUrl={video.url}
style={styles.video}
paused={paused}
onPlayPress={onPlayPress}
/>
TIP
This component extends the react-native-video props.
APIThis is the list of additional props for the component

baseUrl
string
​

Base url to use for the video url. (eg. 'https://static.wixstatic.com/media')

firstFrameImageId
string
​

The static image to show when the components loads. (eg. 3682b5_fd148ff3b63f474f87daed9a324a7c2df000.jpg)

onPlayPress
() => void
​

Event for when user press the play button to toggle play/pause mode eg. (newPauseState) => \{...\}

showPlayControl
boolean
​

Whether to show a Play controller button on the top of the video (default: true)

videoUrl
string
​

The video url. (eg. 'video/3682b5_fd148ff3b63f474f87daed9a324a7c2d/480p/mp4/file.mp4' or 'http://video.wixstatic.com/video/3682b5_fd148ff3b63f474f87daed9a324a7c2d/480p/mp4/file.mp4')