{"action":"closed","issue":{"url":"https://api.github.com/repos/micnews/react-jw-player/issues/99","repository_url":"https://api.github.com/repos/micnews/react-jw-player","labels_url":"https://api.github.com/repos/micnews/react-jw-player/issues/99/labels{/name}","comments_url":"https://api.github.com/repos/micnews/react-jw-player/issues/99/comments","events_url":"https://api.github.com/repos/micnews/react-jw-player/issues/99/events","html_url":"https://github.com/micnews/react-jw-player/issues/99","id":325300483,"node_id":"MDU6SXNzdWUzMjUzMDA0ODM=","number":99,"title":"create preview in react jwplayer","user":{"login":"nimahkh","id":12640517,"node_id":"MDQ6VXNlcjEyNjQwNTE3","avatar_url":"https://avatars3.githubusercontent.com/u/12640517?v=4","gravatar_id":"","url":"https://api.github.com/users/nimahkh","html_url":"https://github.com/nimahkh","followers_url":"https://api.github.com/users/nimahkh/followers","following_url":"https://api.github.com/users/nimahkh/following{/other_user}","gists_url":"https://api.github.com/users/nimahkh/gists{/gist_id}","starred_url":"https://api.github.com/users/nimahkh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nimahkh/subscriptions","organizations_url":"https://api.github.com/users/nimahkh/orgs","repos_url":"https://api.github.com/users/nimahkh/repos","events_url":"https://api.github.com/users/nimahkh/events{/privacy}","received_events_url":"https://api.github.com/users/nimahkh/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-05-22T13:44:11Z","updated_at":"2018-07-09T08:12:40Z","closed_at":"2018-07-09T08:12:40Z","author_association":"NONE","body":"hi my friends , i have to create a preview player before user upload video , so here i have base64 string file , when i put this string in file props , nothing shows , it is my code  : \r\n```js\r\nhandleVideo(e) {\r\n        e.preventDefault();\r\n        let reader = new FileReader();\r\n        let file = e.target.files[0];\r\n        reader.onloadend = () => {\r\n            this.setState({\r\n                file: file,\r\n                previewUrl: reader.result\r\n            });\r\n            const {previewUrl} = this.state;\r\n            this.setState({preview:null});\r\n            if (previewUrl) {\r\n                this.setState({preview:(<ReactJWPlayer\r\n                        className=\"player rtl\"\r\n                        playerId={\"jwplayer\"+Math.random().postId}\r\n                        playerScript={Config.settings.jwplayer}\r\n                        licenseKey={Config.settings.licenseKey}\r\n                        file={previewUrl}\r\n                    />)});\r\n                console.log(previewUrl,this.state.preview);\r\n            }\r\n        };\r\n        reader.readAsDataURL(file)\r\n    }\r\n```\r\nmy code works on normal video tag and shows the video correctly , but in jwplayer, it says \" No playable source found \""}}
{"actor":{"display_login":"ellell"}}