withVideoUrl static method

dynamic withVideoUrl(
  1. String videoUrl
)

Create an attachment with video URL.

videoUrl video URL.

Implementation

static withVideoUrl(String videoUrl) {
  MediaAttachment m = new MediaAttachment();
  m.videoUrl = videoUrl;
  return m;
}