• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2472
  • Last Modified:

Add FLV video using Dreamweaver CS4

I clicked on Insert/Media/FLV... and inserted the video to my site.  I understand there are two other files that Dreamweaver creates and puts in a scripts folder that must be uploaded to server  in order to view the video.

1. Where is the scripts folder located?  It is not on my defined site.  
2.  Is there anyway to tell Dreamweaver to put these script files in a specific folder?
http://myrockyknoll.com/video2.asp
 
<div id="content">
   <p >Rocky Knoll Health Care Center .&nbsp;N7135 Rocky Knoll Pkwy .&nbsp;Plymouth, WI 53073 .&nbsp;920-893-6441</p>
   <p > <br /><br />
    <div id="video">
      <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="320" height="240" id="FLVPlayer">
        <param name="quality" value="high" />
        <param name="wmode" value="opaque" />
        <param name="scale" value="noscale" />
        <param name="salign" value="lt" />
        <param name="FlashVars" value="&amp;MM_ComponentVersion=1&amp;skinName=Clear_Skin_1&amp;streamName=video/tv_sm&amp;autoPlay=false&amp;autoRewind=false" />
        <embed src="FLVPlayer_Progressive.swf" flashvars="&MM_ComponentVersion=1&skinName=Clear_Skin_1&streamName=video/tv_sm&autoPlay=false&autoRewind=false" quality="high" wmode="opaque" scale="noscale" width="320" height="240" name="FLVPlayer" salign="lt" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash"></embed>
      </object>
    </div>

Open in new window

0
nsitedesigns
Asked:
nsitedesigns
  • 5
  • 5
2 Solutions
 
IanThCommented:
see

http://help.adobe.com/en_US/Dreamweaver/10.0_Using/WSc78c5058ca073340dcda9110b1f693f21-7c9ea.html

from the above
The Insert FLV command generates a video player SWF file and a skin SWF file that are used to display your video content on a web page. (To see the new files, you may need to click the Refresh button in the Files panel.) These files are stored in the same directory as the HTML file to which youre adding video content. When you upload the HTML page containing the FLV file, Dreamweaver uploads these files as dependent files (as long as you click Yes in the Put Dependent Files dialog box).

0
 
Jason C. LevineNo oneCommented:
Hi nsitedesigns,

The above code is not using the AC_RunActiveContent.js file...delete the movie and re-embed it...

>> 1. Where is the scripts folder located?  It is not on my defined site.  

See above.  It should automatically be created in the local site root and will be "Scripts" with a capital S

>> 2.  Is there anyway to tell Dreamweaver to put these script files in a specific folder?

No, but you can move the files after they have been created and if you have caching turned on, DW should prompt you to update the files with the new location.  Warning:  the next time you embed a Flash file, a new instance of "Scripts" will be created.
0
 
nsitedesignsAuthor Commented:
I re-embedded the movie same problem.  The ONLY files that appear on my site are the Clear-Skin_1.swf and FLVPLayer_Progressive.swf.  According to the Missing Manuel book for CS4, I should also see a Scripts folder with expressInstall.swf and swfobject_modified.js files.  I have inserted movies before using MX and had no problems.  

Jason1178, I don't know what you mean when you say the above code is not using AC-RunActive.....

This is pissing me off.
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
Jason C. LevineNo oneCommented:
>> According to the Missing Manuel book for CS4, I should also see a Scripts folder with expressInstall.swf and
>> swfobject_modified.js files.
>> Jason1178, I don't know what you mean when you say the above code is not using AC-RunActive.....

That's what I mean.  Your code (unless there is more of it you are not showing us) is not using the javascript method to embed the video and that could be one problem.  

Go to Edit | Preferences | Code Rewriting and make sure "Insert Using Browser Safe Scripts" and "Convert tags to scripts on file open" are both checked.

Looking at the page you linked to, I also get a 404 error for http://myrockyknoll.com/tv_sm.flv, so you need to check that location as well.

>> This is pissing me off.

Relax.
0
 
nsitedesignsAuthor Commented:
1. I have attached all the code for the page below.
2. I am using a mac.  I opened Preferences/Code Rewriting and there aren't any options to check Insert Using Browser Safe Scripts and COnvert Tags...  See screen shot.
3. I am looking at the file in the root directory and don't know why you can't see it.
<!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>Rocky Knoll Health Care Center for Long Term Care and Short Term Rehabilitation - Plymouth, Wisconsin</title>
<link href="rk.css" rel="stylesheet" type="text/css" />
 
<meta name="keywords" content="Rocky Knoll Health Care Center,Rocky Knoll,Health care facility,wisconsin,WI,plymouth,sheboygan county,sheboygan,nursing home,long term care,elder care, out patient rehab,speech therapy,occupational therapy,short term care,short term rehab,physical therapy,occupational therapy, and speech therapy,rehabilitation,ursing home,nursing home care,nursing home services,nursing home facilty,medicade nursing home,rehab" />
 
<meta name="description" content="Rocky Knoll Health Care Center offers long term nursing home care, short term rehabilitation care and special care services in Sheboygan County." />
 
<link rel="shortcut icon" href="favicon.ico" >
   <link rel="icon" type="image/gif" href="animated_favicon1.gif" >
 
  
<script type="text/javascript"><!--//--><![CDATA[//><!--
 
sfHover = function() {
	var sfEls = document.getElementById("navigation").getElementsByTagName("LI");
	for (var i=0; i<sfEls.length; i++) {
		sfEls[i].onmouseover=function() {
			this.className+=" sfhover";
		}
		sfEls[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
		}
	}
}
if (window.attachEvent) window.attachEvent("onload", sfHover);
 
//--><!]]></script>
 
 
 
</head>
 
 
<body>
<div id="container">
 
<!--HEADER AREA--> <div id="header"></div>
 
<!--TRIO PHOTO-->
  <div id="trio_pics"> <img src="img/trio_home4.jpg" alt="Rocky Knoll is a  great choice for short term rehab and long term care" 
  title="Rocky Knoll is a  great choice for short term rehab and long term care" width="614" height="135" /></div>
 
<!--TALL PHOTO-->
<img src="img/tall_leaves.jpg" alt="Rocky Knoll is located on 62 acres of wooded countryside" title="Rocky Knoll is located on 62 acres of wooded countryside"width="183" height="192" class="tall" />
 
<!--BEGIN NAVIGATION-->
<div id="navigation">
  <ul
><li><a href="short.asp">Short Term Rehab</a>
  <ul>
   <li><a href="short_amenities.asp">Amenities</a></li>
   <li><a href="short_therapy.asp">Therapy Types</a></li>
   <li><a href="short_dining.asp">Dining</a></li>
   <li><a href="short_testimonials.asp">Testimonials</a></li>
  </ul>
 </li>
 
  <li><a href="long.asp">Long Term Care</a>
  <ul>
   <li><a href="long_rooms.asp">Guest Rooms</a></li>
   <li><a href="long_activities.asp">Activities</a></li>
   <li><a href="long_special.asp">Special Features</a></li>
   <li><a href="long_evercare.asp">Evercare</a></li>
   <li><a href="long_testimonials.asp">Testimonials</a></li>
  </ul>
 </li>
 
  <li><a href="special.asp">Special Services/Care</a>
  <ul>  <li><a href="special_accelerated.asp">Accelerated Care Plus</a></li>
  </ul>
 </li>
 
  <li><a href="about.asp">About Us</a>
   <ul>
   <li><a href="about_scenic.asp">Scenic Setting</a></li>
   <li><a href="about_unique.asp">Unique Care</a></li>
   <li><a href="about_staff.asp">Staff</a></li>
   <li><a href="about_admission.asp">Admission</a></li>
   <li><a href="about_transportation.asp">Transportation</a></li>
    <li><a href="about_downloads.asp">Downloads</a></li>
	 <li><a href="about_resources.asp">Resources/Links</a></li>
  </ul>
 </li>
 
  <li><a href="photo.asp">Photo Gallery</a></li>
 <li><a href="news.asp">News</a></li>
 <li><a href="events.asp">Events</a></li>
 <li><a href="careers.asp">Careers</a></li>
 
 <li><a href="contact.asp">Contact Us</a>
 <ul>
   <li><a href="contact_directions.asp">Directions</a></li>
   <li><a href="contact_request.asp">Request Information</a></li>
  </ul> 
 </li>
 
 <li><a href="index.asp">Home</a></li>
   </ul
  > </div>
 
<!--END NAVIGATION-->
 
<div id="content">
   <p >Rocky Knoll Health Care Center .&nbsp;N7135 Rocky Knoll Pkwy .&nbsp;Plymouth, WI 53073 .&nbsp;920-893-6441</p>
   <p > <br /><br />
    </p>
   <p >&nbsp;</p>
    <p >
      <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="320" height="240" id="FLVPlayer">
        <param name="quality" value="high" />
        <param name="wmode" value="opaque" />
        <param name="scale" value="noscale" />
        <param name="salign" value="lt" />
        <param name="FlashVars" value="&amp;MM_ComponentVersion=1&amp;skinName=Clear_Skin_1&amp;streamName=tv_sm&amp;autoPlay=false&amp;autoRewind=false" />
        <embed src="FLVPlayer_Progressive.swf" flashvars="&MM_ComponentVersion=1&skinName=Clear_Skin_1&streamName=tv_sm&autoPlay=false&autoRewind=false" quality="high" wmode="opaque" scale="noscale" width="320" height="240" name="FLVPlayer" salign="lt" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash"></embed>
      </object>
    </p>
    <p >
     
    </p>
  </div>
 
<div id="footer_nav"><!-- #BeginLibraryItem "/Library/botnav.lbi" -->
<br />
<br />
<br />
<a href="short.asp">Short Term</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="long.asp">Long Term</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="special.asp">Special</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="about.asp">About</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="photo.asp">Photos</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="news.asp">News</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="events.asp">Events</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="careers.asp">Careers</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="contact.asp">Contact Us </a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="index.asp">Home</a><br />
<br />
 
<!-- #EndLibraryItem --></div> 
  <div id="footer"></div>
 
</div>
</body>
</html>

Open in new window

videopref.gif
0
 
nsitedesignsAuthor Commented:
Hmmm, I think the problem is with the crappy host that the client has.  I embedded the movie onto MY site using MY host and it worked just fine.  I also could see the scripts folder on MY site but not on my CLIENT's site.  So strange.
0
 
Jason C. LevineNo oneCommented:
You have to upload the Scripts folder manually.  It is not automatically created on the remote server...
0
 
nsitedesignsAuthor Commented:
Yes, I know that.  The problem was that in my client's site (asp files) a Scripts folder never generated.  I did a test page (html) and a scripts folder was generated.
0
 
Jason C. LevineNo oneCommented:
That is weird.  I wonder if it's an ASP thing or a Mac thing?
0
 
nsitedesignsAuthor Commented:
or both....
0
 
Jason C. LevineNo oneCommented:
That too.  Anyway, I'm glad it has been sorted out.  Good luck.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 5
  • 5
Tackle projects and never again get stuck behind a technical roadblock.
Join Now