Title: [Plugin: pb-embedFlash] java script still loading
Last modified: August 19, 2016

---

# [Plugin: pb-embedFlash] java script still loading

 *  [hubs](https://wordpress.org/support/users/hubs/)
 * (@hubs)
 * [18 years ago](https://wordpress.org/support/topic/plugin-pb-embedflash-java-script-still-loading/)
 * I have no need for shadow box on my site so it would be nice if I could get the
   shadowbox.js and shadowbox-jquery.js scripts from loading. How do I do this? 
   I tried removing the paths to script’s URL’s under the “Main options” section.
   I also change “load shadowbox by default” option to NO in the “Shadowbox & Popup”
   section but neither of these things worked. Any other ideas?
 * Also, swfobject.js seems to be loading twice. Isthere a way to make it so you
   plugin doesn’t load it?
 * Thanks for your help.
 * -hubs
    [http://www.artifacting.com/blog](http://www.artifacting.com/blog)
 * [http://wordpress.org/extend/plugins/pb-embedflash/](http://wordpress.org/extend/plugins/pb-embedflash/)

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

 *  [pasber](https://wordpress.org/support/users/pasber/)
 * (@pasber)
 * [18 years ago](https://wordpress.org/support/topic/plugin-pb-embedflash-java-script-still-loading/#post-769886)
 * It should work as you expected, I tried all variations twice before releasing
   rc9… but there has always to be something to work on :D.
 * I’ll take a look on it within the next days. Unfortunately, I’m a bit busy this
   week.
 *  [pasber](https://wordpress.org/support/users/pasber/)
 * (@pasber)
 * [18 years ago](https://wordpress.org/support/topic/plugin-pb-embedflash-java-script-still-loading/#post-769887)
 * On the first sight:
 * shadowbox.css is loaded in the head – this is intended because I cannot modify
   the header while parsing the posts.
 * I couldn’t find shadowbox.js.
 * swfobject is loaded twice – one time by flv-embed, another time by 1bit. Maybe
   it loads a third time on flash-posts if mode=1, mode=2 or mode=4 is set. This
   is because I cannot check via php if swfobject was loaded before by another plugin.
 * Maybe you deactivated pb-embedFlash, so I’ll check my plugin the next days.
 *  Thread Starter [hubs](https://wordpress.org/support/users/hubs/)
 * (@hubs)
 * [18 years ago](https://wordpress.org/support/topic/plugin-pb-embedflash-java-script-still-loading/#post-770241)
 * Pasber,
 * I got it all working now (except for removing shadowbox.css) shadowbox.js was
   removed using the checkbox in your plugin, it just took a while to kick in (I
   had to clear my cache).
 * swfobject.js was removed after I discovered it was being loaded by the 1bit player
   plugin I had activated.
 * Thanks for all your help. This is a great plugin you have developed!
 *  [pasber](https://wordpress.org/support/users/pasber/)
 * (@pasber)
 * [18 years ago](https://wordpress.org/support/topic/plugin-pb-embedflash-java-script-still-loading/#post-770261)
 * Ok, sounds great for me :).

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

The topic ‘[Plugin: pb-embedFlash] java script still loading’ is closed to new replies.

 * 4 replies
 * 2 participants
 * Last reply from: [pasber](https://wordpress.org/support/users/pasber/)
 * Last activity: [18 years ago](https://wordpress.org/support/topic/plugin-pb-embedflash-java-script-still-loading/#post-770261)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
