-
public final class VideoThumbnailImageDataKt
-
-
Method Summary
Modifier and Type Method Description final static VideoThumbnailImageDatavideoThumbnailImageData(Attachment $self, String thumbnailUrl)Builds the VideoThumbnailImageData for a video attachment from the given thumbnailUrl and the attachment's Attachment.assetUrl, or returns nullwhen neither is available.-
-
Method Detail
-
videoThumbnailImageData
final static VideoThumbnailImageData videoThumbnailImageData(Attachment $self, String thumbnailUrl)
Builds the VideoThumbnailImageData for a video attachment from the given thumbnailUrl and the attachment's Attachment.assetUrl, or returns
nullwhen neither is available.- Parameters:
thumbnailUrl- The server thumbnail URL, already transformed for CDN resizing if enabled.
-
-
-
-