When I am creating a post from the admin panel and using a youtube link in the Editor, the editor automatically fetching the video from youtube and displaying right away in the editor.
But When i am using custom code to display the editor in the frontend and putting the youtube URL its not getting the preview of the video.
Is there any specific parameter to pass to the editor for YouTube videos !!
Here is my current code,
$settings = array( 'media_buttons' => false, 'editor_height' => '140px');
$editor_id = 'video_content';
wp_editor( '', $editor_id, $settings );
Any idea how to accomplish this !!