WordPress.org

Ready to get started?Download WordPress

Forums

Flash games in posts! (1 post)

  1. WarAxe
    Member
    Posted 8 years ago #

    I'm a little excited, as I have just found a satisfying way of embedding Flash games and movies into posts.

    Usually you don't want a half-dozen Flash files playing simultaneously when someone pulls up a page of your latest posts (at least I hope you don't). I used the Flash Quicktag plugin to generate good XHTML and I stuffed it into a custom field, and then I used the GetCustomeFieldValues plugin to run a test if any code exists under my specified field name... and if it does it formats the appearance of the SINGLE.php view of the post... but when you are viewing it in INDEX or SEARCH or ARCHIVES it will, instead, show "Click here to play!".

    Here's an example of the SINGLE.php view:
    http://www.negative99.com/archive/129

    You'll have to hit my site to see what it looks like with other posts.

Topic Closed

This topic has been closed to new replies.

About this Topic