LxBTSC
LxBTSC copied to clipboard
[Feature Request] More embeds
- [ ] Common Audio Formats (ogg,oga,mp3,wav,wma,m4a,aac)
- [x] Common Video Formats (ogm,ogv,m4v,mp4,webm,3gp)
- [ ] Pastebin
- [ ] Github Gists
- [ ] Spotify Song/Playlist
- [ ] Code w/ Syntax Highlighting
Maybe a reference for you: https://github.com/Bluscream/BetterDiscord-Plugins-and-Themes/blob/indev/src/plugins/EmbedAV.plugin.js#L73
Video Formats:
- [ ] MP4
- [x] WEBM
- [x] OGV
- [ ] 3GP
- [ ] FLV
Audio Formats:
- [ ] MP3
- [ ] MP3 Stream
- [x] OGG
Why do most embeds work in browsers but not in the plugin? mp4 or ph only show a empty video frame with disabled play button. CORS maybe?
As the webengine is based on chromium it doesn't have any proprietary proprietary codecs. So anything using those codecs won't play, such as mp3, mp4.
Codecs for h264 and mp3 can be enabled by building the qtwebengine module from Qt sources with WEBENGINE_CONFIG+=use_proprietary_codecs
Within the lxbtsc project or as own cpp dll (replacing teamspeaks qtwebengine.dll)?
It will replace the one shipped with teamspeak.