-
Notifications
You must be signed in to change notification settings - Fork 7.5k
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
Flash crashes when going into fullscreen #2205
Comments
@heff is this on a particular browser? I tried it on desktop chrome and safari on ipad and didn't run into any fullscreen issues. |
@psharmz It seems to be very much Flash-specific, so it has to be in a browser that needs Flash (or forced). |
If you add |
First, I'd suggest swapping to the debug Flash player. Often, it will alert with a stack trace where the regular player just crashes. If that doesn't work, you could try to enable debug logging but it's a huge pain and rarely useful IMO. My typical strategy is to start logging copiously through ExternalInterface and binary-search-via-comment until I can track down the offending lines. A bit barbaric but it's easy to do and works. |
I also would suggest trying in Chrome and not-Chrome, because the Chrome-specific changes have been known to cause weirdness in the past. And different Flash player versions if you can, because that can also help narrow down an issue in release notes. Although David's suggestions are likely faster than going this route, and I don't know what Flash version switcher tools work anymore. |
Thanks guys. I installed the debug player, but not seeing any new info. Is there anything special I need to do to turn on the messages? @bdeitte as @psharmz mentioned, it appears to be all browsers. I've logged out all the API calls from JavaScript to external interface, and nothing is too strange there. It seems to only happen on resize of the flash object when going to fullscreen, but I can't think of anything that would have changed around that. |
Works for me on Firefox, but I do see a problem on Chrome. Getting the Flash debugger working in Chrome is a PITA.
With that set up and working - a warning is logged when ExternalInterface is used - I get no errors logged on going to fullscreen. It looks to me as if Flash isn't actually crashing, but I do see these errors in the browser console:
|
@mister-ben TypeErrors like that one (anything like |
Thanks for digging into that Ben. Like @dmlap said, the I wonder if it has something to do with removing the placeholder element. We used to embed a placeholder div and then replace that with the swf object. Now we just embed the swf object directly. Though I can't think of why that would have any impact. @eXon any ideas what might be happening here? |
One interesting thing I ran into recently that may be relevant: Chrome and Firefox reload SWFs when they are toggled between to |
Right, it's as if the browser is intentionally unloading and reloading the swf as it would if you apply then remove display:none. |
We should have just used |
dude, srsly |
Hmm, this isn't really a nice change. Changing the display element of an object will also cause reflows of the page, which is a serious performance penalty if it happens. Couldn't this have been made specific to just Flash ? |
In the 5.0 changes, something has broken Flash fullscreen. Noting it for the 5.0 milestone. If anyone has any clues let me know.
The text was updated successfully, but these errors were encountered: