Paragraph.youtubeEmbed constructor

Paragraph.youtubeEmbed(
  1. String videoId
)

Implementation

factory Paragraph.youtubeEmbed(String videoId) {
  return Paragraph(
    type: "youtube",
    rawContent: "",
    textSpans: [],
    imageUri: "",
    jwMediaId: "",
    youtubeVideoId: videoId,
    soundcloudTrackId: "",
    soudcloudEmbedCode: "",
    hearthisAtTrackId: "",
  );
}