Note that there are some explanatory texts on larger screens.

plurals
  1. POQuickTime movie disappearing from Javascript when scrolled offscreen in non-Safari Mac browsers?
    primarykey
    data
    text
    <p>I have a web page I'm creating that uses Javascript to control an embedded QuickTime player. I add the QuickTime movie to the page using the AC_QuickTime.js file from Apple (as described here - <a href="http://developer.apple.com/mac/library/documentation/QuickTime/Conceptual/QTScripting_HTML/QTScripting_HTML_Document/ScriptingHTML.html#//apple_ref/doc/uid/TP40001525-2-SW1" rel="nofollow noreferrer">http://developer.apple.com/mac/library/documentation/QuickTime/Conceptual/QTScripting_HTML/QTScripting_HTML_Document/ScriptingHTML.html#//apple_ref/doc/uid/TP40001525-2-SW1</a> ). Everything seems to be working fine - I can call methods on the QuickTime movie and control its playback (as well as get the current timestamp).</p> <p>The problem is that on the Mac in Firefox, Camino, and Chrome, when I scroll down such that the QuickTime player is no longer visible, any method calls on the QuickTime movie no longer work. Some method calls (e.g. GetPluginStatus()) throw an error, like:</p> <blockquote> <p>Error calling method on NPObject!</p> </blockquote> <p>Other method calls just return nothing useful. For instance, calling GetTime() returns the current time of the movie until the video scrolls off screen, and then returns 0. You can see a simple example of this here: <a href="http://www.usefulfruit.com/temp/fftest/" rel="nofollow noreferrer">http://www.usefulfruit.com/temp/fftest/</a> . Just click the Play link, then scroll down until the video is no longer visible.</p> <p>This does not occur in Safari on the Mac or in any browser I've tested on Windows. Why is this happening, and is there any way to work around this?</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload