[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Playing DCR Files in a Browser

Posted on 2006-05-04
12
Medium Priority
?
15,860 Views
Last Modified: 2013-12-24
I'm an experienced web developer but have not worked much with Director files.  I've been handed a site that was built about 5 years ago.  It's got several DCR files on it that worked at one time but no longer play, however, I do hear sound out of them...just no display.

When I download the files to my desktop and try to play them...same thing: sound but nothing else.  However, when I place them on my own development server they run just fine.

The only difference I can think of is the production web server I believe is IIS while mine is Apache.  But, that leads to another question...are DCR files web server dependent?  I ask because the files won't play correctly loaded directly from my machine either.

For reference, the HTML code for one of the file in particular is:

<html>
<head>
<title>Developing Quality IEPs</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body bgcolor="#FFFFFF" marginwidth="0" marginheight="0" leftmargin="0" topmargin="0">
<object classid="clsid:166B1BCA-3F9C-11CF-8075-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/director/sw.cab#version=8,0,0,0" width="640" height="480">
  <param name="src" value="open.dcr">
  <embed src="open.dcr" pluginspage="http://www.macromedia.com/shockwave/download/" width="640" height="480">
  </embed>
</object>
</body>
</html>

What's going on here?

One last note...I do NOT have access to the original Director files.  All I have are the DCR files which I've found can not be opened.  *sigh*
0
Comment
Question by:pmascari
  • 6
  • 6
12 Comments
 
LVL 20

Expert Comment

by:MediaMacros
ID: 16614913
Make sure when you upload they are in binary mode. Uploading as ascii will corrupt it.  You might also need to set the mime type on the server.
0
 
LVL 8

Author Comment

by:pmascari
ID: 16615025
Thanks for your comment.

Allow me to clarify: this site has been up and working for 5 years.  Only recently have the DCR files stopped working properly.

I did not upload the files...they've been there for years so I doubt that's the problem.  I've discounted mime type on the server because the files do seem to load in the browser but I get only sound...no display.  This happens both from the production server and when loading from my PC.  However, it works fine when loaded from my development werver running Apache.

Other ideas?
0
 
LVL 20

Expert Comment

by:MediaMacros
ID: 16615684
External files?  Linux servers are case sensitive, so if its looking for "Image.jpg" it won't find "image.jpg"
0
Transaction-level recovery for Oracle database

Veeam Explore for Oracle delivers low RTOs and RPOs with agentless transaction log backup and transaction-level recovery of Oracle databases. You can restore the database to a precise point in time, even to a specific transaction.

 
LVL 8

Author Comment

by:pmascari
ID: 16615775
No...it is finding the files because I can hear it playing the sounds.  I think the production server is IIS.

Here is a link to one of the pages in question.  You should hear sounds like the pages of a book turning but no display.

http://www.educatorlearningcenter.com/iep/
0
 
LVL 20

Expert Comment

by:MediaMacros
ID: 16615988
Are the images in external casts or external files?
Are the web paths at all different?  
Can you hit the external files directly with no problems?

if you moved servers someone had to FTP the fiels over so be sure they were not corrupted in the process.
0
 
LVL 8

Author Comment

by:pmascari
ID: 16616091
Are the images in external casts or external files?
***I have no idea, but I don't think so.

Are the web paths at all different?
***No

Can you hit the external files directly with no problems?
***No.  All the DCR files are doing the same thing.  Every other file on the site (html, images, etc...) are fine.

if you moved servers someone had to FTP the fiels over so be sure they were not corrupted in the process.
***I have not moved the files.  The link I posted above has been active for 5 years.  I *copied* the files to my PC and tried to load them there...same problem occurred.  I then copied them from my PC to my personal development site where they then proceeded to work.  What the hell?
0
 
LVL 20

Expert Comment

by:MediaMacros
ID: 16616230
Locally you need all files in a fodler called dsqmedia to allow access to external files.

It sounds like something is being called from outside of Director and the paths are not resolving.  Most likely a cast file (cxt, cst, or cct)
0
 
LVL 8

Author Comment

by:pmascari
ID: 16617638
I do see some cct files but, like I said, I'm not familiar with Director cast files and I can't open these anyway because they are "protected".

What you're saying makes sense, but I can't figure why it works on my server and not the production server since I've set the file structure up exactly the same.  To my knowledge I've changed nothing.

Frustrating....
0
 
LVL 20

Accepted Solution

by:
MediaMacros earned 2000 total points
ID: 16617837
The 3 most common problems are...

1. File copied or uploaded incorrectly as ascii.
2. Files not set with the correct mime type on the server for that extension.
3. The file server is case sensitive and the fiels being looked for do not match the case of the ones on the server.  

With the symptoms you describe these sound like the likely options.
0
 
LVL 8

Author Comment

by:pmascari
ID: 16617941
What is the correct mime type for DCR files as well as the cast files you mentioned?  .cct in particular?
0
 
LVL 20

Expert Comment

by:MediaMacros
ID: 16618123
This is a note about it...

http://blog.fuelindustries.com/archives/000044.html

Here is the list that shoudl help...

application/x-director dir
application/x-director dcr
application/x-director dxr
application/x-director cst
application/x-director cct
application/x-director cxt
application/x-director w3d
application/x-director fgd
0
 
LVL 8

Author Comment

by:pmascari
ID: 16635773
It was the mime types.  The ISP had moved the site from Win2000 to 2003.  Well, IIS 6 did not include the SW mime types by default.  That's why the movies "all of a sudden" stopped working.  

Thanks for you help.
0

Featured Post

Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

Question has a verified solution.

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

Turn A Profile Picture Into A Cartoon Using Photoshop And Illustrator This tutorial will teach you how to make a cartoon style image out of a regular picture. I have tried to keep the tutorial as simple as possible. I used Adobe CS4 for this tuto…
This guide will walk you through the essential considerations and tech stack for building scalable websites. Know how to grow your business the smart way!
The purpose of this video is to demonstrate how to manually back up a WordPress Database. This will be demonstrated using a Windows 8 PC. The Host used will be IPage.com Log into your Hosting account. IPage will be used for demonstration : Locat…
The purpose of this video is to demonstrate how to set up the permalinks on a WordPress Website. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Go t…
Suggested Courses

830 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