Skip to content

Commit 882ceca

Browse files
committed
URL fixes
1 parent 061208a commit 882ceca

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

src/content/changelog/stream/2025-03-06-media-transformations.mdx

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,18 +26,21 @@ If your zone already has Image Transformations enabled, then it is ready to
2626
optimize videos with Media Transformations, too.
2727

2828
``` text title="URL format"
29-
https://example.com/media/<OPTIONS>/<SOURCE-VIDEO>
29+
https://example.com/cdn-cgi/media/<OPTIONS>/<SOURCE-VIDEO>
3030
```
3131

3232
For example, we have a short video of the mobile in Austin's office. The
3333
original is nearly 30 megabytes and wider than necessary for this layout.
3434
Consider a simple width adjustment:
3535

3636
<video controls>
37-
<source src="https://customer-igynxd2rwhmuoxw8.cloudflarestream.com/media/width=640/https://pub-d9fcbc1abcd244c1821f38b99017347f.r2.dev/aus-mobile.mp4" />
37+
<source src="https://developers.cloudflare.com/cdn-cgi/media/width=640/https://pub-d9fcbc1abcd244c1821f38b99017347f.r2.dev/aus-mobile.mp4" />
3838
</video>
3939

40-
(( REPEAT URL ))
40+
``` text title="Example URL"
41+
https://example.com/cdn-cgi/media/width=640/<SOURCE-VIDEO>
42+
https://developers.cloudflare.com/cdn-cgi/media/width=640/https://pub-d9fcbc1abcd244c1821f38b99017347f.r2.dev/aus-mobile.mp4
43+
```
4144

4245
The result is less than 3 megabytes, properly sized, and delivered dynamically
4346
so that customers do not have to manage the creation and storage of these

0 commit comments

Comments
 (0)