Charles Robertson

Navigation

Skip navigation.

Search

Site navigation

Email conversation

FromCharles Robertson
ToMe
SubjectOpera 8.53 browser and embedded QuickTime movie
Date25 January 2007 20:32
Dear Mark

I have a small problem.

I have embedded a quicktime movie in a 'standard' webpage.

I have created a button that is meant to play the movie using a quicktime
scriptable javascript command:

someMovieObject.Play();

When I open a new browser in Opera 8.53, using Windows XP Pro SP2, and I
press the play button, the movie plays fine. Infact, I can press the play
button, several times and it plays the movie fine, each time.
If I reload or refresh the browser and then press the play button, I get the
following error in the javascript console:

Untitled
[URL]
Event thread: click
Error:
name: TypeError
message: Statement on line 69: Type mismatch (usually a non-object value
used where an object is required)
Backtrace:
  Line 69 of linked script [URL]
    oQtp.Play();
  Line 1 of  script
    playMovie();
  At unknown location
    [statement source code not available]

Have you any idea, what is behind this problem? I have heard that it may be
something to do with the browser losing sight of the fact that the embed
object is just that, and not a string object, but I have no real idea, to be
honest!

Thanks for your time & patience in advance.

Best wishes...

Charlie
FromMe
ToCharles Robertson
SubjectRe: Opera 8.53 browser and embedded QuickTime movie
Date27 January 2007 11:03
Charlie,

> If I reload or refresh the browser and then press the play
> button, I get the following error in the javascript console:

Opera 8 used an older plugin API, which had quite a few similar problems.
Opera 9 uses the new plugin API, and has several fixes for these sort of
bugs. I cannot reproduce the problem in Opera 9. I suggest you ignore Opera
8 since it is no longer the current version of Opera (not so for devices,
but they would not usually have quicktime anyway). Users of Opera 8 should
upgrade to Opera 9.


Mark 'Tarquin' Wilton-Jones - author of http://www.howtocreate.co.uk/
This site was created by Mark "Tarquin" Wilton-Jones.
Don't click this link unless you want to be banned from our site.