Skip to content

Specify a z-index for autoplay animation#7280

Merged
aghassemi merged 3 commits intoampproject:masterfrom
aghassemi:zindex
Feb 1, 2017
Merged

Specify a z-index for autoplay animation#7280
aghassemi merged 3 commits intoampproject:masterfrom
aghassemi:zindex

Conversation

@aghassemi
Copy link
Copy Markdown
Contributor

Fixes a race condition:
When video-manager adds the element for the animation icon, there is no guarantee that the icon is inserted before or after the actual video tag (or iframe in the case of youtube). Without an explicit z-index and if icon is inserted before the iframe, then iframe will cover the animation icon.

@aghassemi aghassemi requested review from chenshay, erwinmombay and mkhatib and removed request for chenshay February 1, 2017 02:01
@aghassemi
Copy link
Copy Markdown
Contributor Author

@erwinmombay this needs to get in before the Canary cut. Thanks!

@aghassemi aghassemi merged commit d2c1d39 into ampproject:master Feb 1, 2017
torch2424 pushed a commit to torch2424/amphtml that referenced this pull request Feb 14, 2017
mrjoro pushed a commit to mrjoro/amphtml that referenced this pull request Apr 28, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants