The below code fails to load video (no error but just blank screen). uri is passed from different screen using navigation params.
----------------------code-----------------------------
import { Video } from 'expo';
...
componentDidMount(){
const { navigation } = this.props;
const data = navigation.getParam('uri', 'null');
this.setState({uri: data});
}
...
render() {
return (
...
<Video
source={{uri: this.state.uri}}
style={{width: this.deviceWidth, height: 300}}
shouldPlay
isLooping
resizeMode="cover"
/>
...
)}