videoBlockNode function
Implementation
Node videoBlockNode({String? src, double? width}) {
final attributes = {
VideoBlockKeys.url: src,
VideoBlockKeys.width: width ?? 320,
};
return Node(type: VideoBlockKeys.type, attributes: attributes);
}