You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ok, I solved it by using the css declaration in a separate style.css sheet (my case Layout.css) on /src/styles/Layout.css
Layout.css
...
.pswp__zoom-wrap video {
position: relative !important;
}
...
maurestor
changed the title
video position:absolute; dont show video on lightbox
video position:absolute; dont show video on lightbox (Resolved)
Aug 19, 2024
Hello, how can I modify the value of absolute position in
// photoswipe-video-plugin.esm.js:193
...
content.element.style.position = 'absolute';
...
within the plugin because I already tried to modify my script in astro and use various tags in ccs but it does not change the property.
dont change property
When I change
<video controls="" playsinline="" preload="auto" poster="http://localhost:4321/favicon.svg" src="/video/persianas_a01.mp4" style="position: absolute; left: 0px; top: 0px; width: 800px; height: 600px;"></video>
to
<video controls="" playsinline="" preload="auto" poster="http://localhost:4321/favicon.svg" src="/video/persianas_a01.mp4" style="position:relative; left: 0px; top: 0px; width: 800px; height: 600px;"></video>
the video show correctly
What can I do to modify that property or delete it from my astro file?
The text was updated successfully, but these errors were encountered: