HomePhabricator
Diffusion Comm 38c13bfdbe53

[web] Fix preloading blob service URIs

Description

[web] Fix preloading blob service URIs

Summary:
I realized that the preloadImage and preloadMediaResource functions do not resolve Blob service URIs so preloading them would fail. This diff fixes that.

Depends on D8050

Test Plan:
Called preloadMediaResource with a blob-service://XXXX URI, observed the devtools Network tab.
Before it failed with network error, now it succeeds: the request is sent to https://blob.commtechnologies.org/XXXX

Reviewers: atul, ashoat

Reviewed By: ashoat

Subscribers: tomek

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

Details

Provenance
bartekAuthored on May 31 2023, 11:46 PM
Reviewer
ashoat
Differential Revision
D8051: [web] Fix preloading blob service URIs
Parents
rCOMMd392c7c61165: [web] Preload encrypted media
Branches
Unknown
Tags
Unknown