View Full Version : EMERGENCY! I COULD LOSE A CLIENT! Making an image a link to a QT movie.
abie1
10-02-2006, 03:34 PM
I have posted this same dilema on creativecow with no replies; I have also posted on adobe.com DW forum and got some help but I am having a seperate issue now and can't get a response from anyone. Hopefully someone here can help. I have a page with images of actors that are auditioning for a part. I have a seperate page with a quicktime embedded of the coresponding actors audition. I was told to use the Open Window Browser command to have the image act as a link to open the QT. That much I've got down. The issue I am having now is I get an error on page at the bottom of the browser window when I click on the link (actor's pic) .
I followed all of the instructions I was given. The options for Open Browser Window are pretty straight forward. I created a window that is 320x240 to house the QT which is perfect. Entered the URL of the page holding the QT and then in the properties window for the page with the actors I linked the actors' page to the page with the QT again. Did I miss something? I actually have a client waiting for me to find a solution. I could lose the client and money if I don't. Thanx everyone.
OH! I almost forgot; what i'm trying to do is similar if not exactly what is done on the Dreamweaver training video. Except it's done on the video with Flash video. I'm using QT. I'm ordering the training but I'm afraid I won't get it in time.
sunder
10-02-2006, 03:56 PM
Hi Abie! Double click the error icon and it should bring up a dialog box.
In it, click on Show Details. It should open up the error. Paste it here and we can troubleshoot from there.
abie1
10-02-2006, 04:27 PM
Awesome! I knew I could count on you guys. I cut and pasted the code in the crimson editor and checked the line and characters; but I don't see anything there that should be causing a problem. Here's the error followed by the code that error points out...
Line: 13
Char: 3
Error: Access is denied.
Code: 0
URL: file://C:\Documents and Settings\The Genius\My Documents\Broadcasting\Test\Panasonic.htm
Line: 13: window.open(the URL, winName, features);
what would constitute character 3?
sunder
10-02-2006, 04:37 PM
If you can identify what's going on at and around line 13 of your code, that would be awesome. I can only assume right now that you're trying to access a local file from a page on the net.
abie1
10-02-2006, 04:44 PM
It's just a test page right now; I get the error after testing it out on the browser, you know the preview in browser command. I know that you are totally limited in the help you can give me. However, I'm posting the code here so you can take a look at it and tell me what you may or may not see. Is that okay?
sunder
10-02-2006, 04:55 PM
Whats the value of the URL (the one that holds the QT video)?
abie1
10-02-2006, 04:58 PM
the Value?
abie1
10-02-2006, 05:01 PM
C:\Documents and Settings\The Genius\My Documents\Broadcasting\Test\Quicktime.htm
sunder
10-02-2006, 05:02 PM
In this line of code, window.open(the URL, winName, features);
What is the value of 'the URL'?
abie1
10-02-2006, 05:08 PM
Oh! sorry about that. I could've answered that, I wasn't sure what you were asking. Yeah, there is no value; it's just 'theUrl'. You know whats funny though, the error says "Line 3, Character 3". Character 3 is a space the left of the code. There is nothing there.
abie1
10-02-2006, 05:29 PM
I took a look at the code again, deleted the extra spaces, tested the page again and the error is the following
Line: 13
Char: 1
Error: Access is denied.
Code: 0
URL: file://C:\Documents and Settings\The Genius\My Documents\Broadcasting\Test\Panasonic.htm
Is the code saying that access to the file under the url indicated is denied? That wouldn't be right b/c I'm not asking it to access that file.
sunder
10-02-2006, 05:30 PM
Okay. Instead of using a direct link to your file on the C drive, use a relative link instead. This means you need to find the location of the destination file (quicktime.htm) from the current file being viewed.
In this case, your test file and your quicktime file seem to be at the same level, so change "C:\Documents and Settings\The Genius\My Documents\Broadcasting\Test\Quicktime.htm" to "Quicktime.htm"
abie1
10-02-2006, 05:41 PM
So the two pages can't be in the same folder?
tanya
10-02-2006, 06:08 PM
Yes, the pages can be on the same level. I think what Sunder was trying to tell you was to make sure you have the right path to the HTML page holding the quicktime video. That path can be relative, and not absolute.
abie1
10-03-2006, 12:12 PM
Sorry for being the thorn in your flesh yesterday. I knew something just didn't make sense. I got it to work though. It turns out that the issue was DW was trying to access the file locally; when I uploaded it to the FTP and tested the page online, the open browser window command worked fine. However, I'm getting the QT logo with question mark in the middle on the pop-up w/ the QT. I'm running QT 7.1, which is the latest version. Is anyone else having this problem?
tanya
10-03-2006, 01:03 PM
You are ok, I am glad everything worked out :)
That icon means that the html page cannot find your quicktime file. Basically, the path to the video is probably incorrect.
abie1
10-03-2006, 03:50 PM
Fixed it!! I just decided to use Flash Video instead. thanx again. BTW, just got my DW Training. Can't wait to see it. As always, wonderful work; Thanx again for all of your help yesterday with the whole shipping delima tanya.
tanya
10-03-2006, 05:03 PM
You are welcome, and enjoy your training!
vBulletin® v3.7.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.