Company logo
  • Jobs
  • Bootcamp
  • About Us
  • For professionals
    • Home
    • Jobs
    • Courses and challenges
    • Questions
    • Teachers
    • Bootcamp
  • For business
    • Home
    • Our process
    • Plans
    • Assessments
    • Payroll
    • Blog
    • Sales
    • Calculator

0

96
Views
How to display HTML content with Embedded video content in React? | CKEditor

I used CKEditor to write content and embedded videos from Admin panel.

Now, I want to display HTML contents with embedded videos to react front side.

What working?

Currently all HTML contents are displaying correctly with

<div dangerouslySetInnerHTML={{__html:DOMPurify.sanitize(HTMLDATA)}}></div>

but video content are not displaying. HTML forVIDEO

<figure class=\"media\"><oembed url=\"https://vimeo.com/643169446\"></oembed></figure>

How to achieve that?

7 months ago ยท Juan Pablo Isaza
Answer question
Find remote jobs