Video Support in richText input type in custom component

Hi there !
I have registered custom components in my application in which i have some headings as text and description as richText.
i want my description to include videos aswell i tried following things:
1:Include iframe but iframe is being printed as plain text instead of rendering it as code.
2: created the custom plugin using react-quill but found out its for only enterprise users.
What is the solution then having richText to have video aswell ???
or should i convert description as block or something ?

Hello @mohsin,

Instead of directly using <iframe> within your rich text, you can consider embedding videos from platforms like YouTube or Vimeo. These platforms typically provide an embed code for each video, which you can easily insert into your rich text editor.

Give it a try, and please let us know if you encounter any issues or if it works as expected!

Thank you!

@manish-sharma thank you… i was trying it before so i checked the code it was not inserting the right code in richText.

so i removed < replaced with < same as > and it worked.

1 Like