Closed bavuvanet closed 6 years ago
Dear xuyuanzhou,
I used VlCPlayer and it run ok. But i try use VlCPlayerView is not working. Phone display white screen. Below is my code:
<VlCPlayerView autoplay={true} url="http://cdn.goluk.cn/video/t1_2.mp4" Orientation={Orientation} //BackHandle={BackHandle} ggUrl="" showGG={false} showTitle={true} title="Test video" showBack={true} onLeftPress={()=>{}} startFullScreen={() => { this.setState({ isFull: true, }); }} closeFullScreen={() => { this.setState({ isFull: false, }); }} />
Dear xuyuanzhou, I try again, reason is i place VLCPlayerView into container view. I remove container view and make VLCPlayerView is parent view, then run ok. Thanks very much :)
Dear xuyuanzhou,
I used VlCPlayer and it run ok. But i try use VlCPlayerView is not working. Phone display white screen. Below is my code:
<VlCPlayerView autoplay={true} url="http://cdn.goluk.cn/video/t1_2.mp4" Orientation={Orientation}
//BackHandle={BackHandle} ggUrl="" showGG={false} showTitle={true} title="Test video" showBack={true} onLeftPress={()=>{}} startFullScreen={() => {
this.setState({ isFull: true, }); }} closeFullScreen={() => { this.setState({ isFull: false, }); }} />