SimpleModal bug when positioning HTML5 video
Posted
by digm
on Stack Overflow
See other posts from Stack Overflow
or by digm
Published on 2010-05-24T04:38:39Z
Indexed on
2010/05/24
4:40 UTC
Read the original article
Hit count: 354
I am trying to use simple modal to display a modal window containing a video. I'm using the HTML5 "video" tag to do this. Using JQuery and SimpleModal, I can get it working in Chrome and Firefox, but for some reason Safari fails to maintain the centered positioning of the modal dialog for the video.
In other words, when you scroll up and down in the windows, the modal window stays in its place, but the video scrolls up and down with the rest of the content outside the window. I've put together a 29 line piece of HTML code that you can cut and paste to test.
Anyone know what I can do to fix this? I've been trying for a few hours now and no combination of JQuery, SimpleModal, or CSS changes can seem to fix this. I'd appreciate any suggestions.
Thanks in advance!
© Stack Overflow or respective owner