In WordPress, J. parentNode is empty or not an object.

Source: Internet
Author: User

Recently, with WP, the flexibility of the system and the powerful plug-in functions were felt. The customer requested that the flv video format on the local server be played online. After comparison, the plug-in flash-video-player was selected, when you use IE6 to open the home page, the following error occurs: j. parentnode' is null or is not an object error! There is no problem with Chrome!

 

After some investigation, we found that the J. parentNode is also called in the swfobject. js file of the plug-in flash-video-player. This error is generated only when it conflicts with WP. Solution:

 

Right-click the home page to view the source code and find two references to swfobject. js:

<Script type = 'text/javascript 'src = 'HTTP: // liubing41.com/wp-includes/js/swfobject.js? Ver = 100'> </script> <script type = "text/javascript" src = "http://liubing41.com/wp-content/plugins/flash-video-player/swfobject.js"> </script>

Because my homepage does not use the player function, you can delete one of the references, or the lazy way is to rename the/wp-uplodes/js/swfobject. js file.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.