FIX: Fixed various video playing issues on game pages:
- Opera now properly disables the pop out icon (which is useless because my player does pretty much the same thing), and thus I was able to use the Chrome codepath for it.
- Chrome (and thus Opera) now has the opening animation. (This is likely due to a bug in Chrome. It doesn't seem to trigger CSS animations if an element was moved around the DOM in the same function. I had to deport the animation start to an event.)
- Firefox no longer has weird window sizes during the opening animation, because it now only triggers the animation when the video's dimensions are properly retrieved.
Well, looks like we're good now...
- Opera now properly disables the pop out icon (which is useless because my player does pretty much the same thing), and thus I was able to use the Chrome codepath for it.
- Chrome (and thus Opera) now has the opening animation. (This is likely due to a bug in Chrome. It doesn't seem to trigger CSS animations if an element was moved around the DOM in the same function. I had to deport the animation start to an event.)
- Firefox no longer has weird window sizes during the opening animation, because it now only triggers the animation when the video's dimensions are properly retrieved.
Well, looks like we're good now...