DescriptionCall Enterfullscreen after player got initialized
It is possible that Enterfullscreen() is called on an video element without src attribute.
Then later on, when the player got initialized, we should let the player enter fullscreen.
The current implementation calls Enterfullscreen first in video url cases.
This will cause an issue that the BrowserMediaPlayerManager doesn't know which player to pass the surface to.
As a result, we should delay EnterFullscreen() call until the player is initialized.
And there is no point to ask a player to enterfullscreen if it is not created.
BUG=400935
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=288000
Patch Set 1 #
Messages
Total messages: 5 (0 generated)
|