{"action":"created","issue":{"url":"https://api.github.com/repos/Myagi/react-native-wistia/issues/3","repository_url":"https://api.github.com/repos/Myagi/react-native-wistia","labels_url":"https://api.github.com/repos/Myagi/react-native-wistia/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/Myagi/react-native-wistia/issues/3/comments","events_url":"https://api.github.com/repos/Myagi/react-native-wistia/issues/3/events","html_url":"https://github.com/Myagi/react-native-wistia/issues/3","id":199566955,"number":3,"title":"Using in View","user":{"login":"slawder","id":93668,"avatar_url":"https://avatars.githubusercontent.com/u/93668?v=3","gravatar_id":"","url":"https://api.github.com/users/slawder","html_url":"https://github.com/slawder","followers_url":"https://api.github.com/users/slawder/followers","following_url":"https://api.github.com/users/slawder/following{/other_user}","gists_url":"https://api.github.com/users/slawder/gists{/gist_id}","starred_url":"https://api.github.com/users/slawder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slawder/subscriptions","organizations_url":"https://api.github.com/users/slawder/orgs","repos_url":"https://api.github.com/users/slawder/repos","events_url":"https://api.github.com/users/slawder/events{/privacy}","received_events_url":"https://api.github.com/users/slawder/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-01-09T14:37:20Z","updated_at":"2017-01-09T21:58:50Z","closed_at":null,"body":"Can this component be called in a View like this ?\r\n\r\n```\r\n        <View style={{height:200}}>\r\n          <Text style={styles.course_title}>{lesson.fields.title}</Text>\r\n\t\t\t\t\t<Wistia\r\n\t\t\t\t\t    ref='video'\r\n\t\t\t\t\t    videoId={lesson.video} // Wistia video ID\r\n\t\t\t\t\t    onReady={ () => console.log('Video is ready') }\r\n\t\t\t\t\t    onPlay={ () => console.log('Video is playing') }\r\n\t\t\t\t\t    onEnd={ () => console.log('Video is finished') }\r\n\t\t\t\t\t  />\r\n        </View>\r\n```\r\n\r\nGetting a error on that that it was expecting a string, but returned undefined. \r\n\r\nIt also may be that I'm not importing the component in correctly. Only way I can get it to load without crashing is in the array loading from 'react-native'. Doing something like this doesn't work as I would expect it would : \r\n\r\n`import Wistia from 'react-native-wistia'\r\n`\r\n\r\nAny suggestions?"},"comment":{"url":"https://api.github.com/repos/Myagi/react-native-wistia/issues/comments/271420824","html_url":"https://github.com/Myagi/react-native-wistia/issues/3#issuecomment-271420824","issue_url":"https://api.github.com/repos/Myagi/react-native-wistia/issues/3","id":271420824,"user":{"login":"slawder","id":93668,"avatar_url":"https://avatars.githubusercontent.com/u/93668?v=3","gravatar_id":"","url":"https://api.github.com/users/slawder","html_url":"https://github.com/slawder","followers_url":"https://api.github.com/users/slawder/followers","following_url":"https://api.github.com/users/slawder/following{/other_user}","gists_url":"https://api.github.com/users/slawder/gists{/gist_id}","starred_url":"https://api.github.com/users/slawder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slawder/subscriptions","organizations_url":"https://api.github.com/users/slawder/orgs","repos_url":"https://api.github.com/users/slawder/repos","events_url":"https://api.github.com/users/slawder/events{/privacy}","received_events_url":"https://api.github.com/users/slawder/received_events","type":"User","site_admin":false},"created_at":"2017-01-09T21:58:50Z","updated_at":"2017-01-09T21:58:50Z","body":"Thanks Alex - 0.33.0"}}
{"actor":{"display_login":"slawder"}}