Package 

Class VideoThumbnailImageDataKt

    • Method Summary

      Modifier and Type Method Description
      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 null when neither is available.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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 null when neither is available.

        Parameters:
        thumbnailUrl - The server thumbnail URL, already transformed for CDN resizing if enabled.