Shop OBEX P1 Docs P2 Docs Learn Events
Display rending of Youtube and Attached images — Parallax Forums

Display rending of Youtube and Attached images

SRLMSRLM Posts: 5,045
edited 2012-03-12 08:49 in General Discussion
When a post has youtube videos embedded in the post and an attached image I get the result below when I click to make the image bigger. For example, Erco's post in this thread:

http://forums.parallax.com/showthread.php?138125-Erco-s-Figure-Eight-Challenge&p=1078311#post1078311

Issue on:
Chromium 16.0.912.77 on Ubuntu 11.10.

Not an issue on:
Firefox on Ubuntu

Comments

  • John AbshierJohn Abshier Posts: 1,116
    edited 2012-03-12 07:11
    I have the same problem on IE9 and Chrome

    John Abshier
  • Ron CzapalaRon Czapala Posts: 2,418
    edited 2012-03-12 07:55
    This happens because the YouTube videos are contained in IFRAME tags and clicking the attachment calls attachment.php which apparently does not force the image popup window to the top so it appears underneath the video iframes.

    If attachment.php set the z-index CSS property for the popup, it would fix the problem.
    <IFRAME id=yui-gen176 class=restrain title="YouTube video player" height=390 src="//www.youtube.com/embed/hzNgYpJdfDs" frameBorder=0 width=640 origwidth="640" origheight="390" aspect="1.64102564102564"></IFRAME>
    <A id=attachment90137 href="attachment.php?attachmentid=90137&d=1330485499" rel=Lightbox_1078311 target=_blank>
    <IMG class=thumbnail title="Click image for larger version..." alt="Click image for larger version..."
    src="attachment.php?attachmentid=90137&stc=1&thumb=1&d=1330485499">
    </A>
  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2012-03-12 08:49
    As a workaround, you could always right-click on the thumbnail, and open the image in a new window or new tab.

    -Phil
Sign In or Register to comment.