Plugin Author
Josh
(@josh401)
Is it immediately deleted? Or do you have to either:
(1) Save the post/page
(2) Switch between text and visual view
… before it is deleted?
Yes you are right.
Option 1: After Save the nmessage.
Nevertheless I do not understand
why it is disappearing.
Plugin Author
Josh
(@josh401)
Probably because the “autoplay” attribute of the “iframe” element is not allowed using the WP Tinymce editor; by default.
You will need to allow this attribute, manually.
You can either use a custom function; or WP Edit Pro has options to easily allow any/other elements and attributes to not be stripped by the editor.
The extended_valid_elements is what you want to adjust.