how to disable YouTube auto-embed in WP 4.x
-
The new WP 4.x YouTube video auto-embed feature in the editor is cool, but can be a pain when trying to paste the unedited YouTube url into a post while in the editor’s visual view.
I discovered a workaround that disables the auto-embed feature while I’m editing the post in the visual view. It appears that the auto-embed feature requires the unedited Youtube url to be pasted by itself at the beginning of a new paragraph.
So I simply add a single blank space at the beginning of the line before I paste the Youtube url. Then the url can, still within the visual view, be edited into the ‘shortcode’ format (changing
https://
tohttpv://
) without having to switch to the text view to edit the html code.
- The topic ‘how to disable YouTube auto-embed in WP 4.x’ is closed to new replies.