Present video from database code

Dear developers,

I’m trying to display youtube iframe embeded code from database to website but this doesn’t working. I do this by fetching the text & then use post message in html. If anyone can help then this can be really useful.

Issue I faced is, I store in database as rich text but while fetching it showing the iframe code in text not in html format. May be text to html or CKEDITOR can help but I’m unable to get it.

Looking forward to your valuable efforts. Thanks in advance!

Why not use the YouTube Video link directly and set a Video Element’s URL .