For will -

[swf]http://69.9.170.242/barbitl.swf,384,288,5,#333300[/swf]

Removed this one as barbie was doing my head in…

Note – when linking to externall addresses it appears you need to feature http://, also you should always check that you have permission to do so! It is possable that externaly loaded swf’s may also fail for other reasons such as – if the movie loads in extra data, or the host/movie may be preconfigured to prevent leaching.

This post relates to a specific query with the following
http://www.web-engineer.co.uk/codex/?p=51

There is an issue with the coffie2code autolink plugin that can be fixed by changing the following line in swfEmbed.php updated version will follow soon…

<php/>
  1. add_filter('the_content', 'swfEmbed_preprocess',10);

change to

<php/>
  1. add_filter('the_content', 'swfEmbed_preprocess',5);

swfEmbed 0.9 1 July 2006

Overview

This plugin makes it quick and simple to insert flash movies into your worpress posts using a UBB style tag.

The syntax to insert a movie is as follows
[swf]src,width,height,ver,bgcol,alt[/swf]

  • swf the address of your flash movie
  • width the width of your movie – either the number of pixels or a percentage
  • height the height of your movie – either the number of pixels or a percentage
  • ver the version of the flash movie (defaults to 5)*
  • bgcol the background colour of the movie (defaults to white)*
  • alt the address of the graphic to use if the flash plugin is not found*

* optional

Examples

1) [swf]/images/addvrt.swf,170,170,5,#000000[/swf] gives

2) [swf]http://video.google.com/googleplayer.swf?docId=-3054014799466172915, 400, 326, 8, #ffffff[/swf] gives

if flash wasn’t installed or of high enough version the following would be shown

Installation instructions

  1. Download the plugin from here
  2. Unzip the archive and upload the contents to your plugins folder (ususally site root/wp-content/plugins
  3. Goto your administration panel, choose plugins and enable the plugin

Install notes

The current version of wordpress (2.0.3 at time of writing) treats XHTML CDATA tags in an odd way, this has been submitted here as a bug, so this may be fixed in the future. There is a simple fix described here.

This plugin utilises Geoff Stearns swfObject, so if your already including the swfObject classes in your pages then comment out the following line (plugins/swfEmbed.php)

<php/>
  1. echo('<script type="text/javascript" src="'.get_settings('siteurl').'/wp-content/plugins/swfEmbed/swfobject.js"></script>'.chr(10));

:: UPDATED 0.7 ::
For war59312 – strips the <p> tags added by TinyMCE that upset the validator. Auto-hyperlink URLs plug-in compatability fix.

:: UPDATED 0.8 ::
Be nice to other plugins release – uses a cleaner two pass approach that improves compatability with third party plugins.

:: UPDATED 0.9 ::
Improved patern matching.

Defect submitted here

This doesnt break anything, but if you’re using script blocks in your posts and commenting them using XHTML CDATA style comments the terminating comment gets mangled.

to patch – simply comment out the following line in wp-includes/template-functions-post.php

<php/>
  1. $content = str_replace(']]>', ']]&gt;', $content);

September 2010
S M T W T F S
 1234
567891011
12131415161718
19202122232425
2627282930  
August 2010
S M T W T F S
1234567
891011121314
15161718192021
22232425262728
293031  
July 2010
S M T W T F S
 123
45678910
11121314151617
18192021222324
25262728293031
June 2010
S M T W T F S
 12345
6789101112
13141516171819
20212223242526
27282930  
powered by
wordpress
theme and icons by
web-engineer

©2008 web-engineer™
all rights reserved