Help - Search - Members - Calendar
Full Version: Script conflict? Quicktime
HTMLHelp Forums > Web Authoring > Graphics, Flash and Multimedia
bilbo
Hi people,
On a website I am using this script from apple to start diversen Quicktime videos:
<script src="http://www.apple.com/library/quicktime/scripts/ac_quicktime.js" language="JavaScript" type="text/javascript"></script>
<script src="http://www.apple.com/library/quicktime/scripts/qtp_library.js" language="JavaScript" type="text/javascript"></script>
<link href="http://www.apple.com/library/quicktime/stylesheets/qtp_library.css" rel="StyleSheet" type="text/css" />

The videos are shown in a div with hidden float (you cannot scroll through all the videos), so that you can see at the same place in the lay-out only the video you are clicking from the list, which is situated in another div in the same page. It works fine. BUT: under the div with the videos inside- so actually under the web page, you can see the videos that have been previously seen by the user, so these videos are actually outside the lay out and that looks of course very bad. This concern only the videos, not the information texts nor the poster frames of the unplayed videos which disappear nicely as the user click from one point of the list to the next.

Now, I found the tutorial from Patrick Hunlock: Everything You Ever Needed To Know About Video Embedding and tried it.
The idea of this script is to put the videos all in different divs and all invisible and to make a video visible in a main div only when a user click on the list to see it. Sounds great!
The jumping from video to video and the visibility works fine BUT the selected video will not play anymore if the user click on it.

Is there a conflict between the script from apple and the one from Patrick?

Is there another way to handle this problem? Is it by example possible that if the user click on any video link in the list, ALL the other videos will be reseted to their poster frames? That would be actualy the easiest for me.

Please, note that I am a complete try and error user and take this in consideration in your answers. Thank you very much!

Bilbo
Frederiek
Can you post the URL (address) of your page?
bilbo
Hi frederiek, thanks for your answer,
I put a test index on following address:
http://www.froginthepool.de/Index-inwork.html
To understand the problem, click in the left window (scroll a bit down) on Schnitt-Serien - Allet Berlini "reel" (in red)
A poster frame appears in the right window. You can click on it and start the first movie. Everything is working fine so far.
Then, click on the left window (scroll a bit back up) under Schnitt-Kurzfilmem - Tanz des Feuers "reel" (in red)
The second Poster frame is now in the right window and you can click on it to start it. BUT you can still see the first movie downloading further UNDER the lay-out!
This version is without the experience with the script from Patrick which doesn't work properly in this case. But maybe thzere is an easier solution to the problem!!!
Thank you very much for your time and atention!
Bilbo
Frederiek
I don't see what you describe. But hey, I'm myself on Mac (Safari) and Apple things always do well on an Apple Mac. biggrin.gif
There are no script errors either. Do you get any? And in which browser/OS does it happen?

You seem to have some HTML errors (see the links to the validator on this page) of which some are related to your EMBED code. You should fix those errors. You also might want to read ALA's article Flash Satay: Embedding Flash While Supporting Standards

While you're at it, validate the CSS too. Of course, you can't do anything about the errors from the Apple CSS, as you link to it from their server.
bilbo
Hi frederiek,
I just also ad a test with the second script, making the videos invisible:
http://www.froginthepool.de/Index-inwork2.html
- main problem: the videos do not play anymore!
- second problem,the first clip selected will only display a poster frame, if you click a second time, the text displays also!
???
Thanks for any help!
Bilbo
bilbo
Hi Friederiek,
thanks for your mail.
The same error is occuring in Safari or in firefoxand no errors are shown by downloading them.
As I have an older version from dreamweaver, I cannot embeb my quicktimes with id classid number, I just don't know how to get these numbers from! Anyway, I suppose that it is not the problem.
What is this validation stuff? Never heard about it, I admit.
I have no flash too, and most of my movies are already compress in FCP with H264 so it would be a mess to recompress all of them!
At the end, it will be around 10 videos onlne and new ones will come in the future - I hope!
bilbo
me again!
actually I just noticed that with firefox, the mistake with the first version just occured when clcikg a second time on the first video. What is a mess too, is that the videos continue downloading AND if the user do not klick on pause, the sound is continuing too!
pfff. Not easy!
bilbo
bilbo
Au fait, Frederiek, tu es Belge! Tu parles Francais of Nederlands?
Je suis Française et j'habite à Berlin.
Ik ben frans en wohne in Berlijn!
Bruxelles, donc français je suppose! smile.gif
Bilbo
bilbo
Whoao!
I just tested the validation tool! Fascinating tool, thanks a lot.
But badly enough, nothing solving the problem for now.

Anyway, I found a provisory solution: if I removed the poster frames - so the apple script- it is working. So my first guess was correct, it is a kind of script conflict. That is the problem with invisible scripts!
Version: http://www.froginthepool.de/Index-inwork3.html biggrin.gif

So I basically just need to find a way to inserate poster frames without any external script from apple. I will search for one now.

excl.gif Do you know any??? excl.gif


Bilbo
Frederiek
I'm sorry, but I've never done anything like this.

If there is a script conflict, you should get error messages in the browser. For testing, you could also d/l the Apple scripts.

Anyway, I hope you'll find what you need.

You've been busy posting! BTW, you can edit your posts within an hour after posting.

PS, Bruxelles est surtout francophone, mais moi, je suis néerlandaise.
bilbo
Salut Frederiek!

Ik heb gedacht, dat jow naam Nederlands is. De vader van mijn zon is ook Nederlands. Je me débrouille à l'oral, mais j'écris super mal! Je mélange avec l'Allemand!
Peut-être devrais-je lancer un nouveau thead avec pour thème "insert poster frames without use of quicktime external script"
A+!!!
bilbo

http://www.couchsurfing.com/people/bilboberlin/
Frederiek
I could exchange your experience of Dutch with German and change Spanish for Italian. biggrin.gif

En tout cas, enchanté!

I hope for you someone with more experience than I (with Apple's scripts and video embedding) comes to read this thread and will be able to help you. I don't really think you need to start a new thread, but it might get new attention.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.