Solved

Adding embeded .avi to website using dreamweaver cs 3

Posted on 2008-06-19
3
1,591 Views
Last Modified: 2010-04-21
I have created a very simple website. (www.goshenheroes.com) My issue is with the streaming .avi video I have added to the Frequently Asked Questions page of the site. When I go to the website, and click on the play button the video is choppy. It will play for a second then quit. If I click on the play button a second time the video does not play. I have called godaddy and the say it is in the coding. Can someone offer some suggestions as to what I have done wrong and how I may fix the issue.
<!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=utf-8" />
<title>Frequently Asked Questions</title>
<link href="twoColElsLtHdr.css" rel="stylesheet" type="text/css" />
<!--[if IE]>
<style type="text/css"> 
/* place css fixes for all versions of IE in this conditional comment */
.twoColElsLtHdr #sidebar1 { padding-top: 30px; }
.twoColElsLtHdr #mainContent { zoom: 1; padding-top: 15px; }
/* the above proprietary zoom property gives IE the hasLayout it needs to avoid several bugs */
</style>
<![endif]--><style type="text/css">
<!--
body {
	background-color: #FFFFFF;
}
.style4 {font-size: 8pt}
.style8 {
	font-size: 12pt;
}
.style9 {font-size: 12pt; font-weight: bold; }
.style14 {color: #0000FF}
.style15 {
	color: #9900CC;
	font-weight: bold;
}
.style16 {color: #FF0000}
.style17 {color: #9900CC}
-->
</style>
<script src="Scripts/AC_ActiveX.js" type="text/javascript"></script>
<script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
</head>
 
<body class="twoColElsLtHdr">
 
<div id="container">
  <div id="header">
    <h1><img src="images/header_bg.jpg" width="708" height="180" /></h1>
  <!-- end #header --></div>
  <div id="sidebar1">
    <h3><a href="index.html" class="style8">Home</a><br />
      <br />  
    <a href="police.html" class="style8">Message from the Chief of Police</a></h3>
    <p><a href="fire.html" class="style9">Message from the Fire Chief</a></p>
    <p><a href="faq.html" class="style9">Frequently Asked Questions</a></p>
    <p><a href="facts.html" class="style9">Little Known Facts<br />
    </a>
  </p>
  </div>
  <div id="mainContent">
    <p class="style8"><span class="style14"><strong><a href="#needforlevy">Why do we need the levy now?</a></strong><br />
      <strong><a href="#failureoflevy">What if the levy doesnt pass?</a></strong><br />
      <strong><a href="#cost">What will it cost me?</a></strong><br />
      <strong><a href="#startoflevy">When will the levy start, when will I see it collected?</a></strong><br />
      <strong><a href="#levymoney">What will be done with this levy money?</a></strong><br />
      <strong><a href="#lengthoflevy">How long will the levy last?</a>  </strong><br />
      <strong><a href="#howmuch">How much is needed for the levy?</a></strong><br />
      <strong><a href="#lastlevy">What has been done with the money from the last levy?</a></strong><br />
      <strong><a href="#adminbuilding">Why did the Township build a new administration building?</a></strong><br />
      <strong><a href="#newengine">Why did we need a new fire engine?</a></strong><br />
      <strong><a href="#surplus">Why dont the trustees use the surplus funds in the General  Fund for Safety Services?</a></strong> <br />
        <strong><a href="#fundrestrictions">Explain Fund restrictions.</a></strong></span></p>
    <p><span class="style15"><a name="needforlevy" id="needforlevy"></a>Why do we need the levy now?</span><br />
    Our revenues for each department stay relatively flat every  year, while our expenses continue to escalate. Today, safety services expenses  exceed income resulting in a deficit.   The growth of population, operational costs, supplies, fuel, and  increasing call volume are the reasons for the current crisis.</p>
    <p><span class="style15"><a name="failureoflevy" id="failureoflevy"></a>What if the levy doesnt pass?</span><br />
    The Police Department will be forced to lay off full time  police officers just to get to a balanced budget, probably a third in short  time just to start replacing worn out cruisers and covering other rising  expenses that are out of our control.</p>
    <p>Fire Department- Cuts will have to be made in both personnel  and resources.  This would lead to  greater response time to emergencies, and waiting for neighboring departments  to respond to YOUR EMERGENCY.   </p>
    <p><span class="style15"><a name="cost" id="cost"></a>What will it cost me?</span><br />
    This will cost 38 to 43 cents per day for a home with a  value of $100,000.  The amount can vary  depending on Homestead and Rollback participation. </p>
    <p><span class="style15"><a name="startoflevy" id="startoflevy"></a>When will the levy start, when will I see it collected?</span><br />
    Monies will be collected starting January 1, 2009. </p>
    <p><span class="style15"><a name="levymoney" id="levymoney"></a>What will be done with this levy money?</span><br />
      Most importantly, it will balance the budget and prevent any  layoffs. Additionally, it<br />
    will be used to add equipment and personnel for the Fire,  EMS, and Police Departments.  </p>
    <p>The Police Department will be able to add two full time  police officers which will provide for two officers on each dayshift. To take  an even more aggressive stand on illegal drug use and sales in our community,  the department will add an officer for narcotics investigations.</p>
    <p>The Fire Department will use the funding to make repairs to  an aging building, over time replace an aging fleet, replace worn out  equipment, add personnel and make salaries more competitive to reduce turn-over.</p>
    <p><strong><span class="style17"><a name="lengthoflevy" id="lengthoflevy"></a>How long will the levy last?</span>  </strong><br />
    The levy will be a continuing levy.</p>
    <p><span class="style17"><strong><a name="howmuch" id="howmuch"></a>How much is needed for the levy?</strong></span><br />
    4.5 mills which will generate approximately $1,082,000 per  year.</p>
    <p><span class="style17"><strong><a name="lastlevy" id="lastlevy"></a>What has been done with the money from the last levy?</strong></span><br />
    The Police Department hired two full time officers, replaced  several worn out patrol cars, and established an additional Detective position  in the agency.</p>
    <p>The Fire/EMS Department used the funding for general  operations and new equipment. </p>
    <p><span class="style17"><strong><a name="adminbuilding" id="adminbuilding"></a>Why did the Township build a new administration building?</strong></span><br />
        The Police Department and Township  Administration had outgrown our previous building, which was nothing more than  a pole barn. A previous board of trustees made the decision to build based on a  desperate need for space. The new building presents the appropriate,  professional image of the township and is centrally located for convenience to  township residents and provides for the fastest response time for officers from  the police department. Great care was taken in planning the new building to  ensure that it will last many years. </p>
    <p><img width="232" height="136" src="images/home template_clip_image002.jpg" /></p>
    <p><span class="style17"><strong><a name="newengine" id="newengine"></a>Why did we need a new fire engine?</strong></span><br />
    The fire service has rules placed upon it by the Insurance Services  Orig.  This agency helps set the rates  that you pay as a home owner.  One of  their regulations is in the area of the age of the<strong> </strong>first responding engine which can not be older than 20 years. Recently,  our engine reached its age limit so it was necessary to replace it. The new  engine is technologically advanced and carries a varied compliment of equipment  to handle any emergency that might arise.</p>
    <p><span class="style17"><strong><a name="surplus" id="surplus"></a>Why dont the trustees use the surplus funds in the  General Fund for Safety Services?</strong></span><br />
    Trustees, as a rule of thumb, should keep an unencumbered  balance of at least 25% of their annual budget in the bank at all times.  The optimal amount is 50%.  There is a great deal of other projects the  trustees should be spending their general fund revenue on besides supporting  the safety services.  If residents  actually want adequate safety services, they can do so by providing the needed  financial assistance in the form of safety services levies.</p>
    <p align="center">
      <script type="text/javascript">
AC_AX_RunContent( 'classid','CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95','width','320','height','290','id','mediaplayer1','title','Surplus Fund\'s Answer Chief Snyder','src','Videos/Surplusfunds.AVI','pluginspage','http://www.microsoft.com/Windows/Downloads/Contents/MediaPlayer/','videos','Videos','surplusfunds.avi','Surplusfunds.AVI','autostart','False','filename','Why do we need the Levy now Ray Snyder.avi','showcontrols','True','showstatusbar','False','showdisplay','False','autorewind','True' ); //end AC code
</script><noscript><object classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" width="320" height="290" id="mediaplayer1" title="Surplus Fund's Answer Chief Snyder">
  <param name="FileName" value="Why do we need the Levy now Ray Snyder.avi" />
  <param name="AutoStart" value="False" />
  <param name="ShowControls" value="True" />
  <param name="ShowStatusBar" value="False" />
  <param name="ShowDisplay" value="False" />
  <param name="AutoRewind" value="True" />
  <embed src=Videos/Surplusfunds.AVI
pluginspage="http://www.microsoft.com/Windows/Downloads/Contents/MediaPlayer/""Videos/Surplusfunds.AVI" width="320" height="290" autostart="False" filename="Why do we need the Levy now Ray Snyder.avi" showcontrols="True" showstatusbar="False" showdisplay="False" autorewind="True"></embed>
      </object>
</noscript>
    </p>
    <p><span class="style17"><strong><a name="fundrestrictions" id="fundrestrictions"></a>Explain Fund restrictions.</strong></span><br />
    Within our Government Entity, all the monies are in a  primary checking account.  Within our  accounting software, all the monies are separated by accounts (fund numbers)  for specific use.  For example, there is  a General Fund and the money can be used at the discretion of the  trustees.  There are funds for the Police  Department, but that money can only be used for the Police Department.  There are funds for Fire and EMS, and that  money can only be used for Fire and EMS expenditures.   This is true for the Service Department,  Community and Economic Development, etc.   This is dictated by the State of Ohio and we are audited regularly to  ensure we follow these guidelines.<br />
    <!-- end #mainContent -->
    </p>
  </div>
<!-- This clearing element should immediately follow the #mainContent div in order to force the #container div to contain all child floats --><br class="clearfloat" />
   <div id="footer">
    <p align="center"><img src="images/Fire patch.jpg" width="94" height="117" /><img src="images/Footer logo.jpg" width="331" height="131" /><img src="images/Police Patch.jpg" width="106" height="126" /><br />
      <span class="style4">Paid for by the Committee to Keep a Safe and Secure   Goshen<br />
     Jack Kuntz -  Treasurer - 6911 Cozaddale Rd. Goshen, Oh. 45122</span></p>
  <!-- end #footer --></div>
</div>
</body>
</html>

Open in new window

0
Comment
Question by:GTPD22
  • 2
3 Comments
 
LVL 70

Accepted Solution

by:
Jason C. Levine earned 125 total points
ID: 21828134
Hi GTPD22,

I disagree with GoDaddy that the coding is an issue.  More likely, the AVI is not optimized for streaming/progressive downloading.

You should probably switch to FLV instead.  Download WinFF (www.winff.org) and use it to convert the avi to flv.  Then drag and drop the flv file to the page to have DW create the correct code.  When prompted, select Progressive Download.  Upload all necessary files (the FLV, two SWFs, and a JS file) and you will be happier with the results.
0
 
LVL 7

Author Closing Comment

by:GTPD22
ID: 31469019
Thanks Jason. That worked like a charm and was very painless!!!!!!!
0
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 21828843
>> Thanks Jason. That worked like a charm and was very painless!!!!!!!

You're welcome.
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Dreamweaver CS5.5 Error 5 537
dreamweaver cs6 keep getting error 2 msg 16 393
CSS Layout Help 7 231
Adobe Photoshop CC 2015 action script help 2 215
For those who don't know, Adobe Dreamweaver is a popular commercial web editor that enables you to design, build and manage complex websites. The editor is a WYSIWYG (What You See Is What You Get) web editor, which means that you can create your web…
Adobe Dreamweaver CS5 is a WYSIWYG web page editor that has advanced HTML, CSS, and Javascript rendering functionality and is probably the most well-known HTML editor available. Much of Dreamweaver's appeal centers around the Design View interfac…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question