YouTube links support? and sharing images by URL? #8
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: apps/BareRTC#8
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Some ways we can make the chat room more fun:
Share images by URL
The file share button is nice to share a picture from your device, but easy built-in support for web URL image sharing could be cool too.
How it may work:
HEAD
request to see if it's an image.<img src="https://url">
into the user's message (users can already type this in themselves, this would just automate it and can apply a max width like uploaded pics have so you don't overwhelm the chat w/ a large pic)Possible privacy concern: direct linking to external URLs can allow tracking (all chatters' browser loads the link revealing IP addresses) - may want to implement a proxy server to fetch the image on behalf of users.
YouTube link expansion
When a user pastes a YouTube URL in chat we could try and embed the video directly in-line so users can watch it in the chat.
It may look like: the ChatServer recognizes a YouTube URL and it injects the
<iframe>
embed tag into the user's message (after Markdown rendering).(note that: while the chat supports some HTML it only allows simple tags that Markdown renders into anyway - no iframes, scripts or anything crazy, so users could not embed that
<iframe>
tag themselves)