Call 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 Review URL: https://codereview.chromium.org/446003003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@288000 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment