From 3793da5bf87e78e17b8e83f6f72181a99f790be5 Mon Sep 17 00:00:00 2001 From: Brandon Thomas Date: Thu, 5 Sep 2024 21:11:19 -0400 Subject: [PATCH] document --- .../src/http_server/common_responses/media_links.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/crates/service/web/storyteller_web/src/http_server/common_responses/media_links.rs b/crates/service/web/storyteller_web/src/http_server/common_responses/media_links.rs index 64fae727bd..ca1dd14327 100644 --- a/crates/service/web/storyteller_web/src/http_server/common_responses/media_links.rs +++ b/crates/service/web/storyteller_web/src/http_server/common_responses/media_links.rs @@ -46,6 +46,7 @@ pub struct MediaLinks { pub cdn_url: Url, /// Template to construct thumbnail URLs. + /// Replace the string `{WIDTH}` with the desired width. /// Only relevant for image media files. (Video media files instead have /// video previews, which, in turn, have their own thumbnail templates.) pub maybe_thumbnail_template: Option, @@ -62,8 +63,10 @@ pub struct VideoPreviews { /// An animated gif preview of the video. pub animated: Url, /// A template used to construct the still thumbnail URL. + /// Replace the string `{WIDTH}` with the desired width. pub still_thumbnail_template: String, /// A template used to construct the animated thumbnail URL. + /// Replace the string `{WIDTH}` with the desired width. pub animated_thumbnail_template: String, }