billybadarse Posted April 14, 2010 Share Posted April 14, 2010 <html><div id="divid" style="position:absolute; left:400; top:142;"><OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" WIDTH="550" HEIGHT="342" id="movie" ALIGN=""> <PARAM NAME=welcome VALUE="welcome.swf"> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#333399> <EMBED src="welcome.swf" quality=high bgcolor=#333399 WIDTH="550" HEIGHT="342" NAME="welcome" ALIGN="" TYPE="application/x- shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED> </OBJECT> </div></html><?php get_header(); ?><div id="casing"><div id="maincontent"><?php if (have_posts()) : ?><?php $count = 0; ?><?php while (have_posts()) : the_post(); ?><div class="boxpost" id="post-<?php the_ID(); ?>"><h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2><div class="boxcover"><?php solar_home_image(); ?> <?php the_excerpt (); ?> <div class="clear"></div></div><div class="boxmeta"> <span class="more"> <a href="<?php the_permalink() ?>">READ MORE</a></span></div></div><?php if(++$counter % 3 == 0) : ?><div class="clear"></div><?php endif; ?><?php endwhile; ?> <div class="clear"></div> <div id="navigation"><?php if(function_exists('wp_pagenavi')) : ?> <?php wp_pagenavi() ?> <?php else : ?> <div class="alignleft"><?php next_posts_link(__('« Older Entries','arclite')) ?></div> <div class="alignright"><?php previous_posts_link(__('Newer Entries »','arclite')) ?></div> <div class="clear"></div> <?php endif; ?></div> <?php else : ?> <h1 class="title">Not Found</h1> <p>Sorry, but you are looking for something that isn't here.</p> <?php endif; ?></div><?php get_footer(); ?> the flash is loading as a blue box... no video playing any help? Quote Link to comment https://forums.phpfreaks.com/topic/198464-flash-in-php-in-a-div/ Share on other sites More sharing options...
seventheyejosh Posted April 19, 2010 Share Posted April 19, 2010 Any errors in the console? Can you go to the .swf in the browser via the url? And, please, put your code inside of [ code ] ... [ /code ] tags Quote Link to comment https://forums.phpfreaks.com/topic/198464-flash-in-php-in-a-div/#findComment-1044845 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.