{"action":"created","issue":{"url":"https://api.github.com/repos/kartik-v/yii2-widgets/issues/265","labels_url":"https://api.github.com/repos/kartik-v/yii2-widgets/issues/265/labels{/name}","comments_url":"https://api.github.com/repos/kartik-v/yii2-widgets/issues/265/comments","events_url":"https://api.github.com/repos/kartik-v/yii2-widgets/issues/265/events","html_url":"https://github.com/kartik-v/yii2-widgets/issues/265","id":93767485,"number":265,"title":"initialPreview on FileInput","user":{"login":"JamesBarnsley","id":1493566,"avatar_url":"https://avatars.githubusercontent.com/u/1493566?v=3","gravatar_id":"","url":"https://api.github.com/users/JamesBarnsley","html_url":"https://github.com/JamesBarnsley","followers_url":"https://api.github.com/users/JamesBarnsley/followers","following_url":"https://api.github.com/users/JamesBarnsley/following{/other_user}","gists_url":"https://api.github.com/users/JamesBarnsley/gists{/gist_id}","starred_url":"https://api.github.com/users/JamesBarnsley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JamesBarnsley/subscriptions","organizations_url":"https://api.github.com/users/JamesBarnsley/orgs","repos_url":"https://api.github.com/users/JamesBarnsley/repos","events_url":"https://api.github.com/users/JamesBarnsley/events{/privacy}","received_events_url":"https://api.github.com/users/JamesBarnsley/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-08T11:32:26Z","updated_at":"2015-12-28T05:55:44Z","closed_at":"2015-12-28T05:55:44Z","body":"Is it possible to use the PDF viewer in the initialPreview option for the FileInput.\r\n\r\nWhen I upload a file using the FileInput the PDF viewer works fine, but when it comes to viewing the file on an update form using the initialPreview I cannot use the PDF viewer? Is there a way to do it?"},"comment":{"url":"https://api.github.com/repos/kartik-v/yii2-widgets/issues/comments/167492145","html_url":"https://github.com/kartik-v/yii2-widgets/issues/265#issuecomment-167492145","issue_url":"https://api.github.com/repos/kartik-v/yii2-widgets/issues/265","id":167492145,"user":{"login":"kartik-v","id":3592619,"avatar_url":"https://avatars.githubusercontent.com/u/3592619?v=3","gravatar_id":"","url":"https://api.github.com/users/kartik-v","html_url":"https://github.com/kartik-v","followers_url":"https://api.github.com/users/kartik-v/followers","following_url":"https://api.github.com/users/kartik-v/following{/other_user}","gists_url":"https://api.github.com/users/kartik-v/gists{/gist_id}","starred_url":"https://api.github.com/users/kartik-v/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kartik-v/subscriptions","organizations_url":"https://api.github.com/users/kartik-v/orgs","repos_url":"https://api.github.com/users/kartik-v/repos","events_url":"https://api.github.com/users/kartik-v/events{/privacy}","received_events_url":"https://api.github.com/users/kartik-v/received_events","type":"User","site_admin":false},"created_at":"2015-12-28T05:55:44Z","updated_at":"2015-12-28T05:55:44Z","body":"Beyond scope of this extension. You need to use an embed component (or iframe) .. that supports PDF view of files from servers OR use certain browser plugins that help you achieve this.\r\n\r\nYou may [post and request for general programming help and tips in this new Q & A forum](http://webtips.krajee.com/questions)."}}