Drupal 7 CKEditor while replacing from textarea media files are not rendering
After a long research I found one solution from here.

The patch they provided works for me.

https://www.drupal.org/files/issues/interdiff_8413.txt

I will leave this question open, so that others can get some help from this.