Hello I am trying to get a preview of the youtube video when pasted to the editor but it keeps loading plain instead of loading the video preview.
I have created an options page in admin side for a userrole. Then I have used
wp_editor(); on that options page.
wp_enqueue_script( 'mce-view' );