HomePhabricator
Diffusion Comm 121ce199f134

[web] Support encrypted media in <Multimedia>

Description

[web] Support encrypted media in <Multimedia>

Summary:
This diff modifies the <Multimedia> component to be able to display encrypted media.
The type and uri props are replaced by a single object representing an encrypted or non-encrypted media.

Depends on D7280

Test Plan: Both encrypted and decrypted media are displayed in the chat. Clicking on them opens a modal.

Reviewers: atul, marcin, inka, ginsu

Reviewed By: atul

Subscribers: ashoat, tomek

Differential Revision: https://phab.comm.dev/D7281

Details

Provenance
bartekAuthored on Apr 3 2023, 3:10 AM
Reviewer
atul
Differential Revision
D7281: [web] Support encrypted media in <Multimedia>
Parents
rCOMM7ab92a9d5226: [web] Modify MultimediaModal to support encrypted media
Branches
Unknown
Tags
Unknown