Title: Help, code deleting!!
Last modified: August 20, 2016

---

# Help, code deleting!!

 *  [pierrescottdesign](https://wordpress.org/support/users/pierrescottdesign/)
 * (@pierrescottdesign)
 * [15 years ago](https://wordpress.org/support/topic/help-code-deleting/)
 * Hi all, I’m having a serious issue with a site I’m working on. I have videos 
   embedded in my pages, but whenever I go to edit the page and save the changes
   afterwards, the video code randomly disappears and thus the video disappears.
   I have no idea why this is happening. Can anyone help me? I’ve been trying to
   get help for this for weeks now.
 * Thanks,
 * PJ

Viewing 10 replies - 1 through 10 (of 10 total)

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [15 years ago](https://wordpress.org/support/topic/help-code-deleting/#post-2091359)
 * Are you switching between the Visual & HTML Editor tabs?
 *  Thread Starter [pierrescottdesign](https://wordpress.org/support/users/pierrescottdesign/)
 * (@pierrescottdesign)
 * [15 years ago](https://wordpress.org/support/topic/help-code-deleting/#post-2091363)
 * yes i check both of them…it doesn’t happen until I save the changes. Then the
   code for the video vanishes.
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [15 years ago](https://wordpress.org/support/topic/help-code-deleting/#post-2091364)
 * Don’t switch between tabs. Pick one tab and then stick to it or you will lose
   markup.
 *  Thread Starter [pierrescottdesign](https://wordpress.org/support/users/pierrescottdesign/)
 * (@pierrescottdesign)
 * [15 years ago](https://wordpress.org/support/topic/help-code-deleting/#post-2091385)
 * but why is that the case? is there something that can stop this? What if a user
   needs to switch to codeview to fix something?
 *  [Jason LeMahieu (MadtownLems)](https://wordpress.org/support/users/madtownlems/)
 * (@madtownlems)
 * [15 years ago](https://wordpress.org/support/topic/help-code-deleting/#post-2091389)
 * Is it <embed> code that’s disappearing? If so, you’re likely stripping it out
   for security reasons on save.
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [15 years ago](https://wordpress.org/support/topic/help-code-deleting/#post-2091409)
 * > but why is that the case?
 * Because, unfortunately, that’s how TinyMCE (the Visual Editor) works.
 *  Thread Starter [pierrescottdesign](https://wordpress.org/support/users/pierrescottdesign/)
 * (@pierrescottdesign)
 * [15 years ago](https://wordpress.org/support/topic/help-code-deleting/#post-2091490)
 * can I change the editor? is there a JCE editor like in Joomla?
 *  [zfish](https://wordpress.org/support/users/zfish/)
 * (@zfish)
 * [15 years ago](https://wordpress.org/support/topic/help-code-deleting/#post-2091494)
 * Certain HTML tages do get stripped by the Visual Editor. Wish I knew which ones.
   My embedded Google map code is always affected.
 * I found that I could switch back and forth between Visual and HTML as long as
   I submitted the update only in the HTML view.
 *  [batten1000](https://wordpress.org/support/users/batten1000/)
 * (@batten1000)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/help-code-deleting/#post-2091698)
 * I’m having this same problem, except it’s getting stripped when I click “save
   draft” by anyone other than an administrator. I’m not switching between views,
   i.e. i am in HTML view the whole time.
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/help-code-deleting/#post-2091699)
 * Please post a new topic.

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘Help, code deleting!!’ is closed to new replies.

## Tags

 * [code](https://wordpress.org/support/topic-tag/code/)
 * [deleting](https://wordpress.org/support/topic-tag/deleting/)
 * [video](https://wordpress.org/support/topic-tag/video/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 10 replies
 * 5 participants
 * Last reply from: [esmi](https://wordpress.org/support/users/esmi/)
 * Last activity: [14 years, 8 months ago](https://wordpress.org/support/topic/help-code-deleting/#post-2091699)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
