Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Fix encrypted video playback in Chrome-based browsers #5430

Merged
merged 2 commits into from
Nov 19, 2020

Conversation

jryans
Copy link
Collaborator

@jryans jryans commented Nov 19, 2020

For Chrome-based browsers, it seems we need to set some non-empty src URI for
the video element's play button to be enabled, so this crafts an empty data
URI and ensures playing is triggered once the real content has been fetched.

encrypted-video-playback

Fixes element-hq/element-web#15694
Regressed by #5352

For Chrome-based browsers, it seems we need to set some non-empty `src` URI for
the video element's play button to be enabled, so this crafts an empty `data`
URI and ensures playing is triggered once the real content has been fetched.

Fixes element-hq/element-web#15694
Regressed by #5352
@jryans jryans requested a review from a team November 19, 2020 13:32
Copy link
Member

@t3chguy t3chguy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great, thanks

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Video previews don't work with autoplay disabled since 1.7.13
2 participants