Hi,
as discussed here
and here
I want to build a slider with images.
Clicking on the image opens a modal with a video.
The video should possibly be fullscreen on every screen.
The toggle as an image to open the modal works fine, but I cannot make it to have the video embed correct.
It is to small or to big.
When I use data-rvt-offscreen-reset, the video is invisible.
Giving the Modal element a Custom CSS to reduce the left/right padding, does not work on mobile, only in CS preview:
@media screen and (max-width: 767px) {
$el.x-modal {
padding-right: 0.5em;
padding-left: 0.5em;
}
}
Edit: Now I see the left right padding depends on the width/height of the close icon!
Is there a way to make it independent?
Tested on Safari and Firefox on Macbook and iPhone X.
Hope you can help!
Best regards,
Hannes