react native - Playing video file error -


i trying embed video using react-native-video library(in ios). copied code example used in github keep getting same error can't handle. error identical here: https://github.com/react-native-community/react-native-video/issues/237. none of answer helped. hope me out, banging head on wall more 3 hours.

cheers!

edit: have tried giving link uri: '...'

import  video 'react-native-video'; //in render: return (       <view style={{width: 300, height: 500}}>       <video source={{uri: "http://cdn1.highfaner.com/2017-03/06/video1488813979559.mp4"}}      rate={1.0}                              // 0 paused, 1 normal.      volume={1.0}                            // 0 muted, 1 normal.      muted={false}                           // mutes audio entirely.      paused={false}                          // pauses playback entirely.      resizemode="cover"                      // fill whole screen @ aspect ratio.*      repeat={true}                           // repeat forever.      style={styles.backgroundvideo} />        </view>     );   } 


Comments

Popular posts from this blog

php - Permission denied. Laravel linux server -

google bigquery - Delta between query execution time and Java query call to finish -

python - Pandas two dataframes multiplication? -