element-hq / element-web

A glossy Matrix collaboration client for the web.
https://element.io
GNU Affero General Public License v3.0
11.01k stars 1.96k forks source link

Cannot thumbnail & playback HEVC content reliably #14330

Open 532910 opened 4 years ago

532910 commented 4 years ago

While a video sent from riot-android has playback controls in all riots: image

The same video sent from riot-web in ff isn't playable: image image

t3chguy commented 4 years ago

Does your firefox have anti-fingerprinting enabled? Anything which breaks canvases can causes the file to be mis-detected as not being a video.

532910 commented 4 years ago

I don't know, but ff with a new clean profile works the same.

532910 commented 4 years ago

ff 78.0.1 but I've seen this issue before

532910 commented 4 years ago

BTW, image files are shown correctly sent from the same ff.

532910 commented 4 years ago

The same as #14328, this issue is HEVC related.

t3chguy commented 4 years ago

https://caniuse.com/#feat=hevc

532910 commented 4 years ago

The last screen is from android. While it can play HEVC, the video has no controls.

t3chguy commented 4 years ago

Right, the issue is if the sending client doesn't support HEVC then it can't verify that the file is a video so it sends it as m.file and not m.video

ara4n commented 7 months ago

see https://github.com/element-hq/element-web/issues/10146