.swf in Wordpress

Out of context: Reply #6

  • Started
  • Last post
  • 12 Responses
  • Andrew_D0

    Still not working, and when I add

    <?php echo get_template_directory_uri(); ?> to the script type, the body doesn't show up.

    I'm looking like this now:

    <script type="text/javascript" src="swfobject/swfobject.js"></script>
    <script type="text/javascript" src="swfobject/swfforcesize.js"></script>
    <br />
    <div id="videocontainer">
    <div id="deckcontainer">
    <br />
    <a href="/master_deck.zip"><img src="<?php bloginfo('template_url'); ?>/images/master_deck.jpg"></a>
    <div id="deckCopy">
    <h2>SHOPPER STUDY</h2>
    <hr>
    <p>Find sales statistics for regions worldwide, discover consumer insights and learn all there is to know about the shopper decision-making process</p>
    <hr>
    <a href=""><img style="margin: 20px 0px 0px 10px;" src="<?php bloginfo('template_url'); ?>/images/download_button.jpg"></a>
    </div>
    </div>
    <div id="content">
    <p>In order to view this page you need JavaScript and Flash Player 8+ support!</p>

    <script type="text/javascript">
    var so = new SWFObject("video_player.swf", "video_player", "600", "370", "8", "#000000");
    so.addParam("scale", "noscale");
    so.addParam("salign", "left");
    if( so.write("content") )
    {
    var forcesize = new SWFForceSize( so, 600, 370 );
    }
    </script>
    </div>
    </div>

    This would seem correct to me, but it ain't working. :-(

    • not to the type attribute...the src attribute...foobaz

View thread