[wp-trac] [WordPress Trac] #12048: <video> tag is deleted when switching between Visual/HTML editors.
WordPress Trac
wp-trac at lists.automattic.com
Tue Jan 26 20:02:54 UTC 2010
#12048: <video> tag is deleted when switching between Visual/HTML editors.
--------------------------+-------------------------------------------------
Reporter: cabel | Owner:
Type: defect (bug) | Status: new
Priority: high | Milestone: Unassigned
Component: Editor | Version: 2.9.1
Severity: major | Keywords: tinymce
--------------------------+-------------------------------------------------
SUMMARY:
I'm trying to embed a new HTML5 style video in a post. But it's very
difficult, as the Wordpress Editor is continually deleting my <video> HTML
when I switch over to Visual to do some writing.
STEPS TO REPRODUCE:[[BR]]
1. Start a new post. Write a few words.[[BR]]
2. Switch to "HTML"[[BR]]
3. Paste in the following code:[[BR]]
<video width="700" height="394" controls autobuffer="false"><source
src="http://example.com/example.m4v" type="video/mp4" /></video>[[BR]]
4. Switch to "Visual". (A large white space for the video should be
present.)[[BR]]
5. Switch back to "HTML".[[BR]]
EXPECTED RESULTS:
Nothing happens. My <video> tag remains and my code and post is unchanged.
ACTUAL RESULTS:
The entire <video> tag, and its contents, is gone!
WORKAROUNDS:
None that I can find, except to never touch the "Visual" tab, which is
challenging...
--
Ticket URL: <http://core.trac.wordpress.org/ticket/12048>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list