vue-beautiful-chat
vue-beautiful-chat copied to clipboard
Url media discovery
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
- ...
Can maybe make use of some free external server (if any) if it is not possible using just javascript in the browser.
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
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.
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.
@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