insertVideoBlock method
Insert video embed block, it requires the videoUrl
it could be the video url directly (.mp4) either locally on file system or http video on the network
it also supports youtube video url
Implementation
void insertVideoBlock({
required String videoUrl,
}) {
this
..skipRequestKeyboard = true
..replaceText(index, length, BlockEmbed.video(videoUrl), null)
..moveCursorToPosition(index + 1);
}