ldn0x7dc / react-native-media-kit

Video(and audio) component for react-native apps, supporting both iOS and Android. A unified and elegant player controller is provided by default. The API is similar with HTML video.
200 stars 70 forks source link

Error when pressing the play button for the first time #10

Closed sercanov closed 8 years ago

sercanov commented 8 years ago

I attached the error screen. Actually it plays even if it fires an error but when in release mode, the app crashes no doubt.

<Video
      style={{height: width / (16/9)}}
      src={this.props.movieInfo.trailerUrl}
      autoplay={false}
      preload={'none'}
      loop={false}
      controls={true}
      muted={false}
      poster={'none'}>

img_2662

ldn0x7dc commented 8 years ago

@sercanov Could you post more info like your react-native version? This component works on rn 0.28+.

cande1gut commented 8 years ago

Hi @sercanov, you are not closing the Video tag, after poster: poster={'none'}/>

sercanov commented 8 years ago

@ldn0x7dc I'll re-open this issue when I tried with latest version of React Native. Thanks.

@cande1gut I'm closing it in the lines below.