Reply to topic
Video on our website
cdressendorfer


Joined: 15 Sep 2009
Posts: 3
Location: Casper, Wy
Reply with quote
Everything looks like it should play right. It looks like points to the name of the files right but the proprerties box shows Length: 0000 for the time and nothing else is populated. Can someome please help me. You can see it in action at: http://www.axcessadvertising.com/commercialsinfo.php?id=13

Code:


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Axcess Advertising Service's</title>
<style type="text/css">
<!--
@import url("css/main.css");
@import url("css/text.css");
-->
</style>
<!--[if lte IE 7]>
    <link rel="stylesheet" type="text/css" href="css/ie.css" />
<![endif]-->
</script>
<script src="js/AC_ActiveX.js" type="text/javascript"></script>
<script src="js/AC_RunActiveContent.js" type="text/javascript"></script>
</head>
<body>
<?php
   include "includes/connect.php";
   $commercial_result = mysql_query("SELECT * FROM nc_commercials ORDER BY RAND()") or die("Could Not Access AAS Commercials.");
   $commercial = mysql_fetch_array($commercial_result, MYSQL_ASSOC);
   $ad = "http://www.axcessadvertising.com/images/commercials/aas/".$commercial['photo'];
   $id = $_GET['id'];
   $newscast_result = mysql_query("SELECT * FROM newscasts WHERE id=$id") or die("Could Not Access Customers Commercials.");
   $newscast = mysql_fetch_array($newscast_result, MYSQL_ASSOC);
   $mov = "http://www.axcessadvertising.com//images/commercials/customers/".$newscast['photo'];
?>
<div id="container">
   <div id="header"><?php include "includes/header.php"; ?></div>
<div id="wrapper">
       <div id="menu"><?php include "includes/nav.php"; ?></div>
      <div id="content">
                <img src="images/sectionheads/commercial/rotator.php" alt="Watch A Commercial" width="343" height="85" border="0">
        <div id="mov">
         <script type="text/javascript">
         AC_AX_RunContent( 'type','video/x-ms-wmv','data','test.asx?ad=<?php echo $ad; ?>&mov=<?php echo $mov; ?>','width','320','height','320','src','test.asx?ad=<?php echo $ad; ?>&mov=<?php echo $mov; ?>','autostart','true','controller','true','quality','high','bgcolor','#FFFFFF' ); //end AC code
         </script>
            <noscript>
            <object type="video/x-ms-wmv" data="test.asx?ad=<?php echo $ad; ?>&mov=<?php echo $mov; ?>"   width="320" height="320">
            <param name="src" value="test.asx?ad=<?php echo $ad; ?>&mov=<?php echo $mov; ?>" />
            <param name="autostart" value="true" />
            <param name="controller" value="true" />
            <param name="quality" value="high" />
            <param name="bgcolor" value="#FFFFFF" />
         </object></noscript>
          </div>
    <br /><br />
         <p><center><a href="commercials.php">Back to Watch A Commerical</a></center></p>
         <center><a href="mailto:webmaster@axcessadvertising.com">Send A Comment</a></center></p>
         <div id="logos">
                <a href="http://www.flip4mac.com/wmv_download.htm" class="body_sm-link" target="_blank">
                <img src="../images/fliplogo.gif" width="50" height="55" border="0" alt="flip4mac">
                <p>Mac Users!  Get Flip4Mac To View</p></a>
                <a href="http://www.microsoft.com/windows/windowsmedia/download/AllDownloads.aspx?displang=en&qstechnology=" class="body_sm-link" target="_blank">
                <img src="../images/windowslogo.gif" width="150" border="0" height="43" alt="windows media">
                <p>Windows Users!  Get Windows Media Player</p></a>                                                      
         </div>
        </div>
       <div id="digests">
         <?php
         $section = "MAIN";
         include "includes/digests.php"; ?>
        </div>
       </div>
    <div id="footer"><?php include "includes/footer.php"; ?></div>
    <div id="scroller"><?php include "includes/scroller.php"; ?></div>
</div>
</body>
</html>
Re: Video on our website
nathacof
Forum Admin

Joined: 24 Oct 2006
Posts: 192
Location: Dover, DE
Reply with quote
cdressendorfer wrote:
Everything looks like it should play right. It looks like points to the name of the files right but the proprerties box shows Length: 0000 for the time and nothing else is populated. Can someome please help me. You can see it in action at: http://www.axcessadvertising.com/commercialsinfo.php?id=13


When I visit the page, the src attribute of your embed object doesn't look right to me.

Code:

<embed type="video/x-ms-wmv"
       width="320"
       height="320"
       src="test.asx?ad=http://www.axcessadvertising.com/images/commercials/aas/1253037826-mainvideo.wmv&mov=http://www.axcessadvertising.com//images/commercials/customers/1252780586-Puppet.wmv"
       autostart="true"
       controller="true"
       quality="high"
       bgcolor="#FFFFFF"
/>


Notice the missing P? Are you sure it's shouldn't be like so:

Code:

<embed type="video/x-ms-wmv"
       width="320"
       height="320"
       src="test.aspx?ad=http://www.axcessadvertising.com/images/commercials/aas/1253037826-mainvideo.wmv&mov=http://www.axcessadvertising.com//images/commercials/customers/1252780586-Puppet.wmv"
       autostart="true"
       controller="true"
       quality="high"
       bgcolor="#FFFFFF"
/>


Actually I just noticed that test.aspx does not exist on your server. How are you generating the URL in your code?
cdressendorfer


Joined: 15 Sep 2009
Posts: 3
Location: Casper, Wy
Reply with quote
yes it is test.asx its a windows video file. It is on the server but I cant seam to access it permission on the file is 705 goto:

http://www.axcessadvertising.com/test.asx

on the orginal site that gave us the code it gose to a white page.

http://kcwy13.com/test.asx

Thanks
cdressendorfer


Joined: 15 Sep 2009
Posts: 3
Location: Casper, Wy
Reply with quote
I might of spoke to soon. I added a P to the file name and to the code and now it opens a blank box so that work but It stills show 0000 so it not picking up the file info to play.

Thanks,
Video on our website
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT  
Page 1 of 1  

  
  
 Reply to topic