Title: splotch's Replies | WordPress.org

---

# splotch

  [  ](https://wordpress.org/support/users/splotch/)

 *   [Profile](https://wordpress.org/support/users/splotch/)
 *   [Topics Started](https://wordpress.org/support/users/splotch/topics/)
 *   [Replies Created](https://wordpress.org/support/users/splotch/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/splotch/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/splotch/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/splotch/engagements/)
 *   [Favorites](https://wordpress.org/support/users/splotch/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 21 total)

1 [2](https://wordpress.org/support/users/splotch/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/splotch/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[SwfObj Plugin: for embedding Flash objects] [Plugin: SwfObj Plugin: for embedding Flash objects] Doesn't really work](https://wordpress.org/support/topic/plugin-swfobj-plugin-for-embedding-flash-objects-doesnt-really-work/)
 *  Plugin Author [splotch](https://wordpress.org/support/users/splotch/)
 * (@splotch)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-swfobj-plugin-for-embedding-flash-objects-doesnt-really-work/#post-2985595)
 * Can you post a link to a page with this issue so I can see what’s going on? If
   you’ve set the height and width correctly, the Flash file should be displaying
   correctly. I’ll need a closer look at the resulting html to see why it’s failing.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[SwfObj Plugin: for embedding Flash objects] [Plugin: SwfObj Plugin: for embedding Flash objects] using images folder and xml file](https://wordpress.org/support/topic/plugin-swfobj-plugin-for-embedding-flash-objects-using-images-folder-and-xml-file/)
 *  Plugin Author [splotch](https://wordpress.org/support/users/splotch/)
 * (@splotch)
 * [15 years ago](https://wordpress.org/support/topic/plugin-swfobj-plugin-for-embedding-flash-objects-using-images-folder-and-xml-file/#post-2222477)
 * The `base` attribute “specifies the base directory or URL used to resolve all
   relative path statements in the SWF”. You can use the base attribute in the SwfObj
   shortcode as follows.
 * `[swfobj ... base="/base/directory"]`
 * For more info on the available embed attributes see [Adobe’s Flash OBJECT and EMBED tag attributes list](http://kb2.adobe.com/cps/127/tn_12701.html).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [swfobj plugin src attr bug](https://wordpress.org/support/topic/swfobj-plugin-src-attr-bug/)
 *  [splotch](https://wordpress.org/support/users/splotch/)
 * (@splotch)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/swfobj-plugin-src-attr-bug/#post-1885044)
 * By the way, since you have figured out the problem, make sure to mark the thread
   as “Resolved”. Thanks.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [swfobj plugin src attr bug](https://wordpress.org/support/topic/swfobj-plugin-src-attr-bug/)
 *  [splotch](https://wordpress.org/support/users/splotch/)
 * (@splotch)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/swfobj-plugin-src-attr-bug/#post-1885043)
 * Hi saintist,
 * I understand now. Very glad you were able to track down the problem. And don’t
   worry about your English. You’ll only get better the more you use it. I can only
   speak English and Romanian, and my Romanian is not that great.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [swfobj plugin src attr bug](https://wordpress.org/support/topic/swfobj-plugin-src-attr-bug/)
 *  [splotch](https://wordpress.org/support/users/splotch/)
 * (@splotch)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/swfobj-plugin-src-attr-bug/#post-1885035)
 * Hi saintist,
 * Nice work in tracking down what is going on here. Unfortunately I can only control
   what my plugin does, not what others do to the content afterwards. I have no 
   idea why that SEO pack would be adding in <p> tags randomly. Nor why text replace
   would be deleting all of your swf links.
 * Did the my_formatter function you added in your functions.php file resolve the
   issue, or are things still getting mangled by the other plugins?
 * Again, nice work in figuring out which plugins were breaking the functionality.
   I’m glad to know it wasn’t a bug in SwfObj.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [swfobj plugin src attr bug](https://wordpress.org/support/topic/swfobj-plugin-src-attr-bug/)
 *  [splotch](https://wordpress.org/support/users/splotch/)
 * (@splotch)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/swfobj-plugin-src-attr-bug/#post-1885023)
 * The gen11.swf should have shown up twice. Once in this line and once in the second
   object tag.
    `<param name="movie" value="" />`
 * Very strange that the value there is empty and that it isn’t in the other line,
   but that all of the other attributes are set correctly. I have never seen the
   plugin do this before.
 * Can you list the other plugins that you have installed on your site as well?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[SwfObj Plugin: for embedding Flash objects] [Plugin: SwfObj Plugin: for embedding Flash objects] flash xml problem??](https://wordpress.org/support/topic/plugin-swfobj-plugin-for-embedding-flash-objects-flash-xml-problem/)
 *  Plugin Author [splotch](https://wordpress.org/support/users/splotch/)
 * (@splotch)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/plugin-swfobj-plugin-for-embedding-flash-objects-flash-xml-problem/#post-1861068)
 * You are very welcome.
    If this fixed your problem, please mark the topic as “
   resolved”. If not, let me know and hopefully we can figure out what’s going on.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[SwfObj Plugin: for embedding Flash objects] [Plugin: SwfObj Plugin: for embedding Flash objects] flash xml problem??](https://wordpress.org/support/topic/plugin-swfobj-plugin-for-embedding-flash-objects-flash-xml-problem/)
 *  Plugin Author [splotch](https://wordpress.org/support/users/splotch/)
 * (@splotch)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/plugin-swfobj-plugin-for-embedding-flash-objects-flash-xml-problem/#post-1861057)
 * Usually this is because, by default, Flash looks for the xml file in the same
   directory as the page it is embedded in. In WordPress, with fancy urls, the directory
   of the page doesn’t actually exist.
 * To get around this, most Flash galleries allow you to set a flashvar to define
   the actual path to the xml file. The particular variable varies depending on 
   what Flash gallery you are using, so I can’t tell exactly what to set.
 * With SwfObj, you can add flashvars using the “flashvars” attribute. If the variable
   for your gallery happened to be `localpath`, then you would need to add the following
   to your swfobj shortcode.
    `[swfobj ... flashvars="localpath=/path/to/xmldir"]`
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Plugin: SwfObj Plugin: for embedding Flash objects] wp_enqueue_script](https://wordpress.org/support/topic/plugin-swfobj-plugin-for-embedding-flash-objects-wp_enqueue_script/)
 *  [splotch](https://wordpress.org/support/users/splotch/)
 * (@splotch)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/plugin-swfobj-plugin-for-embedding-flash-objects-wp_enqueue_script/#post-1407783)
 * Corrected in the latest release. It’s been a looong time coming.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Plugin: SwfObj] Alt Image appearing instead of .swf](https://wordpress.org/support/topic/plugin-swfobj-alt-image-appearing-instead-of-swf/)
 *  [splotch](https://wordpress.org/support/users/splotch/)
 * (@splotch)
 * [16 years ago](https://wordpress.org/support/topic/plugin-swfobj-alt-image-appearing-instead-of-swf/#post-1486259)
 * Same problem, just replace all of the double quotes (“) with single quotes (‘)
   inside the alt=”…” section. See my post above for an example.
 * I’m working on a new version of the plug-in that will let you put alt content
   in between swfobj tags because several people have complained about the current
   way of putting in alt content. Will update as soon as it’s complete.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [SwfObj plugin not working on WP3 RC2](https://wordpress.org/support/topic/swfobj-not-workinh-on-wp3-rc1/)
 *  [splotch](https://wordpress.org/support/users/splotch/)
 * (@splotch)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/swfobj-not-workinh-on-wp3-rc1/#post-1529768)
 * I emailed Krun offline and found out the problem has been resolved. Here’s an
   excerpt from her email with the solution in case anyone has the same problem.
 * > Problem Solved! I got desperate and downgraded the W.P. to 2.9.2 which I knew
   > it worked in, then discovered it didn’t, which was very unsettling so I contacted
   > my hosting company and they had a look and found a file permission error in
   > the web folder! They amended the file permissions for me and the plugin now
   > works, and in WP3 too. Might be worth mentioning to people to ensure their 
   > file permissions are set to the correct settings? It hadn’t occurred to me 
   > to check! I’ll know next time if it ever happens again!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Plugin: SwfObj] Alt Image appearing instead of .swf](https://wordpress.org/support/topic/plugin-swfobj-alt-image-appearing-instead-of-swf/)
 *  [splotch](https://wordpress.org/support/users/splotch/)
 * (@splotch)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/plugin-swfobj-alt-image-appearing-instead-of-swf/#post-1486193)
 * The problem is your use of double quotes inside the alt attribute. Double quotes
   should only be used at the beginning and end of the alt attribute. Everything
   inside it should use single quotes. If you switch to single quotes it should 
   render correctly.
 * e.g.
    `[swfobj src="yourmovie.swf" alt="<img src='yourimage.jpg' width='229' 
   height='448' alt='WordPress' />" width="229/448" id="wp" name="wp" class="wp"
   align="left" allowfullscreen="false" required_player_version="9.0"]`
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [cant figure out allowscriptaccess paramiter for swfobject :(](https://wordpress.org/support/topic/cant-figure-out-allowscriptaccess-paramiter-for-swfobject/)
 *  [splotch](https://wordpress.org/support/users/splotch/)
 * (@splotch)
 * [17 years, 1 month ago](https://wordpress.org/support/topic/cant-figure-out-allowscriptaccess-paramiter-for-swfobject/#post-1045776)
 * [@spiglanin](https://wordpress.org/support/users/spiglanin/) You are absolutely
   correct.
 * Thank you for tracking this down. I’ve made the fix in the swfobj.php code and
   resubmitted it to wordpress.org. The update should be available there soon.
 * Please [contact me](http://orangesplotch.com/contact) if you continue to have
   problems.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [Need a How-To: Adding pages to 2.5 Media Manager](https://wordpress.org/support/topic/need-a-how-to-adding-pages-to-25-media-manager/)
 *  [splotch](https://wordpress.org/support/users/splotch/)
 * (@splotch)
 * [18 years, 2 months ago](https://wordpress.org/support/topic/need-a-how-to-adding-pages-to-25-media-manager/#post-741561)
 * I’m in the process of putting together a series of tutorials on the WordPress
   media API. It took a lot of digging around in the code before I was able to find
   everything I needed to put together a plugin I was working on. Hopefully these
   articles will save other plugin developers some time.
 * > [WordPress Media Plugin Tutorial 1: Custom media tabs](http://orangesplotch.com/blog/wordpress-media-plugin-tutorial-1-custom-media-tabs/)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [Adding media type](https://wordpress.org/support/topic/adding-media-type/)
 *  Thread Starter [splotch](https://wordpress.org/support/users/splotch/)
 * (@splotch)
 * [18 years, 3 months ago](https://wordpress.org/support/topic/adding-media-type/#post-768506)
 * Finally figured it out. For some reason typing my questions on this forum seems
   to expedite the process of finding the solution, whether or not someone replies.
 * After digging through the code, I realized that I needed to include the full 
   mime type, not just ‘`flash`‘.
 * Now Flash files show up correctly in the media library. Here’s a simplified snippet
   of the working code.
 *     ```
       function modify_post_mime_types($post_mime_types) {
       	$post_mime_types['application/x-shockwave-flash'] = array(__('Flash', 'swfobj'), __('Manage Flash', 'swfobj'), __ngettext_noop('Flash (%s)', 'Flash (%s)', 'swfobj'));
       	return $post_mime_types;
       }
       add_filter('post_mime_types', 'modify_post_mime_types');
       ```
   

Viewing 15 replies - 1 through 15 (of 21 total)

1 [2](https://wordpress.org/support/users/splotch/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/splotch/replies/page/2/?output_format=md)