element-hq / element-hq/element-web

webm broken on chromium/electron (frist frame overlay)

Open
#32,308 0 comments 0 reactions 0 assignees View on GitHub
A-Electron A-Media T-Defect Z-Upstream
Dominant language
TypeScript
Stars
13.5k
Forks
2.8k
PR merge metrics
PR metrics pending

Description

## Description

```json
"type": "m.room.message",
"sender": "@bubu:bubu1.eu",
"content": {
"msgtype": "m.video",
"body": "😎 (smiling face with sunglasses)",
"url": "mxc://bubu1.eu/KbfoXAMDFKtTCzAhbYjRAWjN",
"info": {
"mimetype": "video/webm",
"size": 115738,
"thumbnail_info": {
"mimetype": "image/png",
"size": 30983,
"h": 256,
"w": 256
},
"thumbnail_url": "mxc://bubu1.eu/JGEOxbqJcmImHDEmWVUxWcBC",
"h": 256,
"w": 256
}
}
```
Results in the following glitchy display in electron/chromium but plays fine in firefox (and nheko)

![image](https://user-images.githubusercontent.com/105185/105516418-23e68a00-5cd6-11eb-8569-41ebb8948d09.png)

Looks like the initial frame gets never erased.

### Steps to reproduce

- send the above event via devtools
- view the event in element loaded on chromium

Expected: non glitchy playback### Version information

- **Platform**: web and desktop

For the web app:

- **Browser**: chromium 88.0.4324.96 or electron 11.2.0 (element-desktop archlinux build) or electron 10.2.0 (via [schildichat-desktop](https://github.com/SchildiChat/schildichat-desktop/releases) packages)
- **OS**: Arch Linux
- **URL**: Tested on 1.7.17 and 1.7.16

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.