Skip to content

Releases: xuyuanzhou/react-native-yz-vlcplayer

1.1.1-beta6

28 Nov 12:45
Compare
Choose a tag to compare
  1. add endingViewText

  2. add errorViewText

  3. add vipEndViewText

<VlcSimplePlayer
                endingViewText={{
                    endingText: '视频播放结束',
                    reloadBtnText: 'reopen,
                    nextBtnText: 'next'
                }}
                errorViewText={{
                    errorText: 'error',
                    reloadBtnText: 'reload',
                }}
                vipEndViewText={{
                    vipEndText: '试看结束',
                    boughtBtnText: '请购买后观看立即购买',
                }}
                autoplay={false}
                url='rtsp://184.72.239.149/vod/mp4://BigBuckBunny_175k.mov'
                initType={2}
                hwDecoderEnabled={1}
                hwDecoderForced={0}
                initOptions={[
                    "--rtsp-tcp",
                    "--network-caching=" + 150,
                    "--rtsp-caching=" + 150,
                    "--no-stats",
                    "--tcp-caching=" + 150,
                    "--realrtsp-caching=" + 150,
                ]}
            />