Skip to main content

On April 3rd, 2017 Vidyard will be switching to a new user interface. Click here to learn more.

Vidyard Knowledge Center

Javascript embed code isn't saved in Wordpress editor

Symptom

After the Javascript embed code is entered into the TinyMCE Editor and the page is edited again, the Javascript embed code is removed. 

Cause

This is typically the result of a known issue with Wordpress. If you are using the lightbox or inline Javascript embed code for your Vidyard player, you will likely encounter this behaviour as the result of the TinyMCE editor integrated into Wordpress. TinyMCE removes Javascript code (among other things) from the page/post when flipping back and forth between the text and visual editors. 

Solution

What our Wordpress users typically do is complete any work that needs to be done in the visual editor, then add in the embed codes before publishing the page. If you would like to preview the page, you can publish it privately to view the layout before pushing it public. 

  • Was this article helpful?