{"action":"closed","issue":{"url":"https://api.github.com/repos/changsanjiang/SJVideoPlayer/issues/46","repository_url":"https://api.github.com/repos/changsanjiang/SJVideoPlayer","labels_url":"https://api.github.com/repos/changsanjiang/SJVideoPlayer/issues/46/labels{/name}","comments_url":"https://api.github.com/repos/changsanjiang/SJVideoPlayer/issues/46/comments","events_url":"https://api.github.com/repos/changsanjiang/SJVideoPlayer/issues/46/events","html_url":"https://github.com/changsanjiang/SJVideoPlayer/issues/46","id":382623280,"node_id":"MDU6SXNzdWUzODI2MjMyODA=","number":46,"title":"video buffering  issue","user":{"login":"DGP13","id":42146205,"node_id":"MDQ6VXNlcjQyMTQ2MjA1","avatar_url":"https://avatars2.githubusercontent.com/u/42146205?v=4","gravatar_id":"","url":"https://api.github.com/users/DGP13","html_url":"https://github.com/DGP13","followers_url":"https://api.github.com/users/DGP13/followers","following_url":"https://api.github.com/users/DGP13/following{/other_user}","gists_url":"https://api.github.com/users/DGP13/gists{/gist_id}","starred_url":"https://api.github.com/users/DGP13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DGP13/subscriptions","organizations_url":"https://api.github.com/users/DGP13/orgs","repos_url":"https://api.github.com/users/DGP13/repos","events_url":"https://api.github.com/users/DGP13/events{/privacy}","received_events_url":"https://api.github.com/users/DGP13/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-11-20T11:37:12Z","updated_at":"2018-11-30T14:09:17Z","closed_at":"2018-11-30T14:09:17Z","author_association":"NONE","body":"If video buffering is state called.  \r\n\r\nI'm work like insta story app. story in video is buffering is pause. \r\n\r\n==== here my code == . this code only for check is ready for play\r\n\r\n override func observeValue(forKeyPath keyPath: String?, of object: Any?, change: [NSKeyValueChangeKey : Any]?, context: UnsafeMutableRawPointer?) {\r\n\r\n        if object as AnyObject? === self.SJplayer {\r\n            if keyPath == \"playStatus\" {\r\n\r\n                if self.SJplayer?.playStatus == .readyToPlay {\r\n\r\nThanks in advance "}}
{"actor":{"display_login":"changsanjiang"}}