-
Notifications
You must be signed in to change notification settings - Fork 489
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
setting the overflow style on the body breaks flash socket #67
Comments
It seems Flash object is reloaded on setting overflow attribute in Firefox for unknown reason.
before loading web_socket.js and manually call WebSocket.__initialize(); after setting the attribute. Please let me know if you find any better workaround. |
Thanks for the workaround! Our issue is that we have to set the overflow attribute after the flash socket has been initialized and sent messages. We're experimenting with using a top level div so we don't have to set overflow on the body. Thanks again! |
A side note to this - setting display:none or switching position: between absolute/relative on the element, or its parents will cause the SWF to reload or partially restart, and that will break things (I've seen this with SoundManager 2, which uses JS/Flash extensively as well.) Firefox may also not actually start the SWF if wmode is set to transparent/opaque and the SWF is outside of the current view (ie., bottom of the page or off-screen.) Oh, fun! :) |
Okay, got it - 10-year-old bug: https://bugzilla.mozilla.org/show_bug.cgi?id=90268 |
This is definitely an issue (of Firefox, though), so I'll keep it open but label it as "will not fix". Thanks for the information. |
Repro
. . . and for some reason, the socket disconnects.
The text was updated successfully, but these errors were encountered: