The MU forums have moved to WordPress.org

adding .swf flash to a page (5 posts)

  1. omoriginals
    Member
    Posted 14 years ago #

    Howdy,
    I'd like to add some flash (via javascript) to a couple of pages.

    Here is an example.
    <script type="text/javascript" src="http://omoriginals.com/flash/swfobject.js"></script><script type="text/javascript" src="http://omoriginals.com/flash/bz.js"></script><noscript><p style="background-color:#ffffff;color:#000000;padding:1em;">Your browser doesn't support JavaScript or you have disabled JavaScript.</p></noscript><div id="BZD12B187180F648C1BF00ED47A102A898"></div>

    How can I make this happen.

  2. tim.moore
    Member
    Posted 14 years ago #

    The best way is to create page templates. http://codex.wordpress.org/Pages#Page_Templates

  3. omoriginals
    Member
    Posted 14 years ago #

    tim,
    thanks. I would like to post a handful of flash movies within the body section of a 2 or 3 pages.

    Just like adding a unique image to a page, I'd like to add and remove some flash from time to time.

    With other CMS offerings I've simply switched to source mode and pasted in my code or added a script box and pasted in the code.

    Maybe I'm missing something.

  4. andrea_r
    Moderator
    Posted 14 years ago #

    No, you didn't miss anything. WPMU strips code like this out by default as a security measure. Same as WP.com does it.

    You'll need a flash embed plugin.

  5. tdjcbe
    Member
    Posted 14 years ago #

    You can also develop your own short code and create a plugin to allow localized content:

    http://codex.wordpress.org/Shortcode_API

    A good example:

    http://www.daburna.de/blog/2006/12/13/wordpress-video-plugin/

About this Topic

  • Started 14 years ago by omoriginals
  • Latest reply from tdjcbe