hiding div to allow playing/showing the video#3188
Merged
tdipisa merged 2 commits intogeosolutions-it:masterfrom Sep 27, 2018
Merged
hiding div to allow playing/showing the video#3188tdipisa merged 2 commits intogeosolutions-it:masterfrom
tdipisa merged 2 commits intogeosolutions-it:masterfrom
Conversation
mbarto
reviewed
Sep 11, 2018
| iframe.setAttribute('height', height); | ||
| let overlay = document.createElement('DIV'); | ||
| overlay.setAttribute('class', 'ms-quill-iframe'); | ||
| overlay.style.display = 'none'; |
Contributor
There was a problem hiding this comment.
Where is the overlay displayed again?
Contributor
Author
There was a problem hiding this comment.
The overly (div) is rendered on top of the video, so the user cannot click to play the video. It is a different behavior than what @offtherailz have described, but could be related
Contributor
There was a problem hiding this comment.
... with this change is created not visible. Is there any piece of code that makes this div visible? I cannot find it
Contributor
Author
There was a problem hiding this comment.
Setting display to hidden makes the div non-interactive, so the user cannot click on it. but it can be selected by its ID or class. As I understand, that is the purpose of the div( resize the div and hence the iframe)
mbarto
approved these changes
Sep 27, 2018
offtherailz
added a commit
that referenced
this pull request
Oct 4, 2018
This reverts commit a7c9e66.
tdipisa
pushed a commit
that referenced
this pull request
Oct 4, 2018
* Revert "Removes console logs from browser from karma testing output (#3207)" This reverts commit 264ef58. * Revert "Fix #3209 show/hide title translations in layer settings (#3210)" This reverts commit 415e63d. * Revert "Fixes #2669: use https version of geosolutions maven repo (#3182)" This reverts commit dc4084c. * Revert "Automatic definition of proj codes from configuration in OpenLayers maps (#3133)" This reverts commit 70ee3b9. * Revert "Fix #3192 setting the default layer as object (#3199)" This reverts commit fe50170. * Revert "Fix #2298 de-DE translation fix (#3205)" This reverts commit e39348a. * Revert "hiding div to allow playing/showing the video (#3188)" This reverts commit a7c9e66.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
the embedded video does not show / play on click, this is because a div
Issues
Please check if the PR fulfills these requirements
What kind of change does this PR introduce? (check one with "x", remove the others)
What is the current behavior? (You can also link to an open issue here)
when embedding a video in the detail sheet you cannot click on the thumbnail and play the video.
What is the new behavior?
the video can be played
Does this PR introduce a breaking change? (check one with "x", remove the other)
If this PR contains a breaking change, please describe the impact and migration path for existing applications: ...
Other information: