vue-beautiful-chat icon indicating copy to clipboard operation
vue-beautiful-chat copied to clipboard

Url media discovery

Open mattmezza opened this issue 6 years ago • 5 comments

If the message is just a plain url, try to understand the kind of media to show.

e.g.:

  • If youtube link then show the video preview
  • if image link then show image preview
  • ...

mattmezza avatar Aug 15 '18 07:08 mattmezza

Can maybe make use of some free external server (if any) if it is not possible using just javascript in the browser.

mattmezza avatar Oct 01 '18 10:10 mattmezza

Hi @mattmezza

Awesome project, thanks! Is this feature still in progress? It would be great for UX. Is there any other way to achieve preview of an image in the chat?

Best Thoger

thogerb avatar Jul 07 '19 17:07 thogerb

Hi thanks for stopping by.

I've seen this feature implemented in one of the forks. Might think to take it from there and implement it in here even though I don't think it's that much complicated.

Would consider PRs.

The feature it's still in the backlog but I cannot say when it's going to be implement as my time is scarce at the moment.

mattmezza avatar Sep 05 '19 21:09 mattmezza

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jun 13 '20 10:06 stale[bot]

@mattmezza could you possibly share which fork has this implemented? I'm struggling to insert any kind of html inside the messages.. I can't even add simple html tags such as <strong>

This should work with the v-html but somehow the brackets are being transformed to html entities and I don't understand why

vesper8 avatar Nov 08 '20 19:11 vesper8