Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display multiple file formats as embedded media (ePub, ODF, PDF) #6536

Closed
designgurudotorg opened this issue Mar 30, 2017 · 11 comments
Closed
Assignees
Labels

Comments

@designgurudotorg
Copy link
Contributor

It seems to me that there's massive interest in this functionality and implementation shouldn't be too difficult - basically, it would be great if any ODF, PDF or ePUB document is uploaded it automatically becomes viewable within the chat area using one of the following Open Source scripts:

https://github.com/futurepress/epub.js/
http://viewerjs.org/

I don't have great JS chops so I can't unfortunately whip up a pull request but perhaps someone reading this could? Or alternatively maybe there's a quick way to automatically rewrite the URLs to document uploads and render them with these scripts just in Administration > Layout > Custom Scripts?

q./

ref: #2741 & #255

@arjamizo
Copy link

is there any progress on this task?
Thanks

@ml48603
Copy link

ml48603 commented Jun 27, 2017

I am interested in a pdf viewer for RocketChat.

Is there a reason why this functionality was not included when the image viewer plugin was created?
Are there patches to the RC Linux client available that add a pdf viewer? How bout for Windows?

Running RC Client on Ubuntu Linux 16.04.2 LTS Desktop
Running RocketChat 0.56 Server on Ubuntu Linux 16.04.2 LTS Server

@bayareacoder
Copy link

bayareacoder commented Jul 17, 2018

Pls update on status of enabling an embedded file viewer for PDF files. This is the #1 file interchange format so I believe it should be high on the roadmap to support an internal viewer rather than downloading a file each time. This is even more the case since RocketChat does not seem to support a full-screen Markup editor to create posts (as Slack does), meaning that with Rocket.Chat you need to create a file and upload it for long-form post, so it should be inline viewable. Even if you can only do a preview of 1st page in PDF file it would be useful.

@tobzsc
Copy link

tobzsc commented Sep 27, 2018

Any news on this? This is also something we are missing. :(

@beranPro
Copy link

beranPro commented Oct 5, 2018

+1

@ml48603
Copy link

ml48603 commented Oct 6, 2018

Can this functionality be added as a plug-in to exiting RC Clients? Or would the new functionality need to be programmed into the core of the client? Are there technical reasons that make the addition of this functionality particularly challenging? Does a bounty need to be offered to get this project moving for RC Clients supporting Android, Windows, Ubuntu platforms? Is there a system for multiple people to come together and commit to a bounty as a group? (So people pledging to pay a bounty don't back out when the project is done.)

@FabianZimbalev
Copy link

+1 Any news here ? This is implemented in all the other solutions like Slack, HipChat ect...
For me it would actually be enough to see the downloaded files in a list or something in the chat and then open it in the appropriate Program when I click it. And an auto-download destination so that you don´t have to select where to download it to every time.

@rodrigok
Copy link
Member

@ggazzo @tassoevan can you add some update here?

@reetp
Copy link

reetp commented Nov 27, 2018

For PDFs this Issue should resolve it:
#10519
I'm not sure about previews for other file types

@tassoevan
Copy link
Contributor

@ggazzo spotted the issue; I'm preparing a correction for it.

@marceloschmidt
Copy link
Member

This has been implemented for PDF and also deployed. We'll accept Pull Requests for other formats. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests