Paragraph.jwplayer constructor

Paragraph.jwplayer(
  1. String? url
)

Implementation

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