-
Notifications
You must be signed in to change notification settings - Fork 614
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
The movie in the introduction restarts when changing slides. #16
Comments
Confirmed, and I should be able to get a fix in shortly. |
Cool! Otherwise I must say that deck.js looks fabulous! /Rasmus On Fri, Aug 26, 2011 at 11:22 AM, imakewebthings <
/Rasmus |
Well... it wasn't what I thought, so I'll document what I've learned so far: Gecko appears to rerender the Flash whenever it or any of its ancestors (the slide in this case) go in or out of a state of transform. The current active slide has no transform, while all others do. You'll notice that the Fade transition theme doesn't have this problem since it doesn't use CSS transforms. For whatever reason, at least for Vimeo, this means playing a previously paused movie. I haven't tested other video embedding services yet. Giving It looks like I'll need to do something special for FF until either they fix their transform bugs, Flash fixes them, or Flash dies in a fire. In any case, it may take a few days to figure out a good solution. |
The above commit fixes this issue. If the iframe containing the video is in a nested slide it will still be unloaded, so it will blank out while in a before/previous state while nested, but this is far better than the annoyance of having a movie start off slide in a common workflow as it was doing before. In the process of fixing this bug I removed the transforms on active nested slides in transition themes, which would have prevented video from working at all in nested slides in FF. |
First starting the movie on slide 15 in introduction/index.html and then pausing it and progressing to the next slide causes the movie to restart. As we are on a different slide now it is not possible to see the movie but the sound is still played.
This was on Firefox 6.0, Ubuntu 11.04, 32-bit.
The text was updated successfully, but these errors were encountered: