Jump to content

phtml to php conversion.. no shockwave/flash video.


egiblock

Recommended Posts

 

i'm getting control of a domain and going from phtml to php file structure.

 

i basically have everything converted, but i am running into a problem with a video on the site.  it doesn't show up !?!

 

i've looked at the code, and everything seems ok.

 

do i have to do something special with shockwave / flash videos with the php code ??

 

thanks

 

 

 

the information / code is pulled from a database, and everything works fine but the video page.

here's the code for the header, main video page, and then footer: (i've removed code that doesn't matter)

 

header:

session_start();
?>
...
<head>
.....
<link type="text/css" rel="stylesheet" href="/global.css" />
<script type="text/javascript" src="/lightbox.js"></script>
<script type="text/javascript" src="/swfobject.js"></script>
</head>
<body>

<div id="maincontainer">
   <div id="contentwrapper">
<div id="contentcolumn">
<a href="/"><img src="/images/logo.jpg" width="240" height="111" alt="" /><br />
   <div id="prinav">
<?
if ($section == 'contact')
        {
        print "<a href=\"/\"><img src=\"/images/home.jpg\" width=\"165\" height=\"38\" alt=\"\" /></a>       <a href=\"/video/\"><img src=\"/images/system_video.jpg\" width=\"165\" height=\"38\" alt=\"\" /></a>";
        }
elseif ($section == 'video')
        {
        print "<a href=\"/\"><img src=\"/images/home.jpg\" width=\"165\" height=\"38\" alt=\"\" /></a>       <a href=\"/contact.php\"><img src=\"/images/contact_us.jpg\" width=\"165\" height=\"38\" alt=\"\" /></a>";
        }
else
        {
        print "<a href=\"/video/\"><img src=\"/images/system_video.jpg\" width=\"165\" height=\"38\" alt=\"\" /></a>       <a href=\"/contact.php\"><img src=\"/images/contact_us.jpg\" width=\"165\" height=\"38\" alt=\"\" /></a>";
        }
?>
   </div>
   <div id="mainbody">

 

videopage:

        <div id="flashcontent">
                <strong>You may need to upgrade your Flash Player to view the Auto-Cut video.<br /><a 
href="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash&promoid=BIOW" 
target="_blank">Click here to download the latest version of Adobe Flash Player.</a></strong>
        </div>

        <script type="text/javascript">
                // <![CDATA[

                var so = new SWFObject("/autocut_video.swf", "autocut_video", "420", "350", "6", "#FFFFFF");
                so.write("flashcontent");

                // ]]>
        </script>

 

 

footer:

?>

  </div>
</div>
   </div>

   <div id="rightcolumn">
   ....
   </div>

   <div id="footer">

<p>
Copyright © <? print date("Y"); ?>
</p>

   </div>
</div>
</body>
</html>

 

 

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.