-
Notifications
You must be signed in to change notification settings - Fork 2
Description
In order to carve out a path for future development of this project, we need to make clear what this project is.
It started as a way to fix an issue where a twitter link posted to discord would display in the embed a video that would display a message that it could not be played.
Discord Embedding
I think this problem has been fixed in Discord; but it is done in a strange way where Discord will first try to play using its own player, then when the player enters a failure state it appears that Discord attempts to load another playback mechanism, eventually falling back to Twitters own player in an <iframe> element, so after three or so attempts to play the embedded video the play button will be twitters version and you have to press it again to start the video, this works on videos as long as these can be embedded, but the experience is strange given multiple presses of the play button and flickering state changes.
Not about videos no more
Other changes have been made to the TwitFix codebase in the past months and it appears that the overarching purpose is to provide a better embedding experience which better fits the live chat environment a given tweet is embedded into.
- Showing NSFW tweet images without suppression or leveraging the chat client spoilering mechanism.
- Show a different picture from a collection than the default.
- Collage the collection set into a new image that we host.
- Video preview image
- Fixing the video player reloading thing since that is still annoying.
- Rehost tweet content and prevent deletions from affecting links.
Forging ahead.
- Which twitter links will we generate embeds for?
- Which chat clients will we support as targets for embeds?
- How do these clients support embedding? (do they handle twitter as a special case?)
- How will we format our embeds, and how will we fall back if another client is less capable?
- Will we rehost and transcode content to enable wider comparability?