Closed Bug 262354 Opened 20 years ago Closed 15 years ago

Flash movie restarts when using JavaScript to hide/show a layer

Categories

(Firefox :: General, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 90268

People

(Reporter: bugzilla, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; rv:1.7.3) Gecko/20040913 Firefox/0.10
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; rv:1.7.3) Gecko/20040913 Firefox/0.10

When you use JavaScript to change the display properties of an element
surrounding a Flash movie from block to none back to block, the flash movie
restarts from the beginning.

Reproducible: Always
Steps to Reproduce:
1. Write code that will hide/show a given element (example is linked)
2. Hide the element with the Flash object in it
3. Show the element again and the Flash will start playing 

Actual Results:  
Flash movie starts from the beginning of the movie

Expected Results:  
Should have continued to play while hidden, and un-hiding displays it at it's
current point in the movie.  It shouldn't go back to the start.
This is an automated message, with ID "auto-resolve01".

This bug has had no comments for a long time. Statistically, we have found that
bug reports that have not been confirmed by a second user after three months are
highly unlikely to be the source of a fix to the code.

While your input is very important to us, our resources are limited and so we
are asking for your help in focussing our efforts. If you can still reproduce
this problem in the latest version of the product (see below for how to obtain a
copy) or, for feature requests, if it's not present in the latest version and
you still believe we should implement it, please visit the URL of this bug
(given at the top of this mail) and add a comment to that effect, giving more
reproduction information if you have it.

If it is not a problem any longer, you need take no action. If this bug is not
changed in any way in the next two weeks, it will be automatically resolved.
Thank you for your help in this matter.

The latest beta releases can be obtained from:
Firefox:     http://www.mozilla.org/projects/firefox/
Thunderbird: http://www.mozilla.org/products/thunderbird/releases/1.5beta1.html
Seamonkey:   http://www.mozilla.org/projects/seamonkey/
This is still an issue as of 1.5 Beta.  It is reproduceable at the URL in the
original bug listing.
confirmed
Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8b5) Gecko/20051013
Firefox/1.4.1
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: Flash movie restarts when using JavaScript to hide/show → Flash movie restarts when using JavaScript to hide/show a layer
This is still an issue as of 2.0.
When its solve?
Assignee: bross2 → nobody
Still a problem in 2.0.0.6
Still a problem in 3.0 RC2 (unofficial).
так же это происходит если родительскому элементу менять position или opacity , возможно что и какието другие параметры вызывают это
Still a problem in 3.0
and still here in 3.0.2pre
This affects Java applets as well.
Well, just discovered that "bug" with a java applet for uploadign file.

I wonder that there still no solution for almost 4 years now. I can't believe the problem is technical, because Firefox already know how to hide an applet/flash/object without destroying it : for example when you switch tab. What's the difference between hiding with javascript and hiding using a different tab ?
Duplicate of bug 90268 ?
I have division with color picker applet hidden inside.
The division is hidden when it is not used and show applet when mouse over and otherwise on mouse out.

In Internet Explore 7.0 
  * Applet loaded on start up after security warning.
  * Color selection remain after applet hide upon mouse out event
  * Means applet is not reloaded
While in Firefox "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.5) Gecko/2008120122 Firefox/3.0.5"
  * Applet not loaded on start up but it gets loaded upon every mouse over
  * Color selection in applet gets reset as well

Following are the java console entries
Upon Mouse Over (Division show up as height increases)
======================================
basic: Added progress listener: sun.plugin.util.GrayBoxPainter$GrayBoxProgressListener@b64435
basic: Applet loaded.
basic: Applet resized and added to parent container
basic: PERF: AppletExecutionRunnable - applet.init() BEGIN ; jvmLaunch dt 239820 us, pluginInit dt 25630534 us, TotalTime: 25870354 us
basic: Applet initialized
basic: Removed progress listener: sun.plugin.util.GrayBoxPainter$GrayBoxProgressListener@b64435
basic: Applet made visible
basic: Starting applet
basic: Applet started
basic: Told clients applet is started

Upon Mouse out(Applet Division shrinks)
======================================
basic: Starting applet teardown
basic: Finished applet teardown

I think applet should not be reload upon mouse over event.

According to me it is still an issue
Yes, still an issue.  See also bug 90628.  It's useful to know that IE7 doesn't destroy the applet when the containing <div> is hidden -- that means applets in general are more likely to be able to cope with having their window unmapped.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.