{"action":"created","issue":{"url":"https://api.github.com/repos/brentvatne/react-native-video/issues/66","labels_url":"https://api.github.com/repos/brentvatne/react-native-video/issues/66/labels{/name}","comments_url":"https://api.github.com/repos/brentvatne/react-native-video/issues/66/comments","events_url":"https://api.github.com/repos/brentvatne/react-native-video/issues/66/events","html_url":"https://github.com/brentvatne/react-native-video/issues/66","id":91363279,"number":66,"title":"Pausing videos do not always work","user":{"login":"isair","id":988213,"avatar_url":"https://avatars.githubusercontent.com/u/988213?v=3","gravatar_id":"","url":"https://api.github.com/users/isair","html_url":"https://github.com/isair","followers_url":"https://api.github.com/users/isair/followers","following_url":"https://api.github.com/users/isair/following{/other_user}","gists_url":"https://api.github.com/users/isair/gists{/gist_id}","starred_url":"https://api.github.com/users/isair/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/isair/subscriptions","organizations_url":"https://api.github.com/users/isair/orgs","repos_url":"https://api.github.com/users/isair/repos","events_url":"https://api.github.com/users/isair/events{/privacy}","received_events_url":"https://api.github.com/users/isair/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/brentvatne/react-native-video/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"isair","id":988213,"avatar_url":"https://avatars.githubusercontent.com/u/988213?v=3","gravatar_id":"","url":"https://api.github.com/users/isair","html_url":"https://github.com/isair","followers_url":"https://api.github.com/users/isair/followers","following_url":"https://api.github.com/users/isair/following{/other_user}","gists_url":"https://api.github.com/users/isair/gists{/gist_id}","starred_url":"https://api.github.com/users/isair/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/isair/subscriptions","organizations_url":"https://api.github.com/users/isair/orgs","repos_url":"https://api.github.com/users/isair/repos","events_url":"https://api.github.com/users/isair/events{/privacy}","received_events_url":"https://api.github.com/users/isair/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-06-26T21:08:08Z","updated_at":"2015-06-26T21:13:08Z","closed_at":null,"body":"I believe this to be yet another threading issue. I didn't have this issue with the remote videos in my app, but when I added video pre-loading to it using a hacky way (just move video component to background, assign the next video to it, and pause it until it is needed) I realized that videos kept playing even when paused property was correctly being set."},"comment":{"url":"https://api.github.com/repos/brentvatne/react-native-video/issues/comments/115884568","html_url":"https://github.com/brentvatne/react-native-video/issues/66#issuecomment-115884568","issue_url":"https://api.github.com/repos/brentvatne/react-native-video/issues/66","id":115884568,"user":{"login":"isair","id":988213,"avatar_url":"https://avatars.githubusercontent.com/u/988213?v=3","gravatar_id":"","url":"https://api.github.com/users/isair","html_url":"https://github.com/isair","followers_url":"https://api.github.com/users/isair/followers","following_url":"https://api.github.com/users/isair/following{/other_user}","gists_url":"https://api.github.com/users/isair/gists{/gist_id}","starred_url":"https://api.github.com/users/isair/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/isair/subscriptions","organizations_url":"https://api.github.com/users/isair/orgs","repos_url":"https://api.github.com/users/isair/repos","events_url":"https://api.github.com/users/isair/events{/privacy}","received_events_url":"https://api.github.com/users/isair/received_events","type":"User","site_admin":false},"created_at":"2015-06-26T21:13:08Z","updated_at":"2015-06-26T21:13:08Z","body":"`setPaused` seems to be called correctly with the right values. When `setPaused` is called with paused as true in my app, the progress update timer is stopped properly but player is not being paused. So it is definitely a threading issue. Will fix this.\r\n\r\nSince all the property setters are called asynchronously we should check them all and make sure what needs to be in the main thread stays in the main thread."}}