Order Now AdSolution Sign Up | Login » Bits on the Run Sign Up | Login »

Forums

/

Lightbox issue in IE

25 replies [Last post]

When I use the lightbox code, it works correctly in firefox. But in IE it places the image, the video and the shading one after another on the page instead of layering on top of each other for a popup effect. Is there something I need to add to the code to have it work correctly in IE?
This is my code:

<script type="text/javascript" src="http://www.norfield.com/customer/noindu/video/jquery.js"></script>
<script type="text/javascript" src="http://www.norfield.com/customer/noindu/video/jquery.jwbox.js"></script>
<script type="text/javascript" src="http://www.norfield.com/customer/noindu/video/swfobject.js"></script>
<link rel="stylesheet" type="text/css" href="http://www.norfield.com/customer/noindu/video/jwbox.css" />
<div class="jwbox">
<img src="http://www.norfield.com/customer/noindu/images/front/mfg56100.png" alt="MFG56100" border="0"/>
<div class="jwbox_hidden">
<div class="jwbox_content">
<div id="player1"></div>

<script type="text/javascript">
var so = new SWFObject('http://www.norfield.com/customer/noindu/video/player.swf','player','375','294','9');
so.addParam('allowscriptaccess','always');
so.addParam('allowfullscreen','true');
so.addParam('flashvars','file=http://www.norfield.com/customer/noindu/video/MFG5600Web.flv&backcolor=ff5c00&logo=/customer/noindu/...');
so.write('player1');
</script>
<p>How To video of ... </p>
</div>
</div>
</div>

here is an example
http://www.norfield.com/default.aspx?page=customer&file=customer/noindu/customerpages/resources.htm

instead of popping over everything it just slides everything down in explorer. Is there anyway to fix this?

 

so.addParam('wmode', 'opaque');

that didn't work, but thanks :)

Hello

When I use the lightbox code it is working correctly in Google chrome and safari. But in IE I am having this problem. test link -- http://www.njsymphony.org/f_v_index.htm

When you click on the video instead of opening in the lightbox it jumps down the page and blows it out.

Please help with the code.

Thank you!

I have confirmed this and opened a ticket: http://developer.longtailvideo.com/trac/ticket/946

hi i have the same problem too.. the video will not play in IE but it works in Firefox. Do you have any idea on this?

Here is the link http://shanedelia.flirtgroup.com.au/video_media.htm just click on the sample image.

thanks

@ivy - this does not appear to be the JW Player / JW Box.

If you are interested in the JW Player / JW Box, look here - http://www.longtailvideo.com/support/jw-player/jw-player-for-flash-v4/21/jw-box-the-jw-player-lightb...

thanks

Np! :)

Hello,
I have a similar problem in IE 8. When clicking the preview image, the 3 items layout down the page; that's the preview image, the video and then the transparent background.

I have this setup in two simple test files, with object/embed coding in one, and swfobject.js in the other

object/embed
http://www.accessconsciousness.com/test.htm

swfobject.js
http://www.accessconsciousness.com/test1.htm

I've purchased and using the latest JW Player 5.3 and using JW Box

Grateful for your help,
Stephen

This works for me, have you fixed the issue?

No. I still get the problem. It's fine in FireFox and Safari, but not in IE8. My OS is WIndows 7 64bit ... I wonder if that is the catalyst?

Just accessed the page from my old Windows Vista laptop and have the same issue in IE.

I am not sure. I have a 32 Bit XP Machine running Flash 10.1, same version of IE, works for me.

This is a screenshot of a simple test page with a single image using JW Box in IE8. This is the result of clicking the preview image

http://www.accessconsciousness.com/images/test2.jpg

The page is http://www.accessconsciousness.com/test2.htm

Thanks for your help.
Cheers,
Stephen

That is bizarre. I have never seen an issue like that before.

The JW Box has not been updated in a while, but that should definitely not be happening.

Do you know anyone else who has IE who can test this?

Hi Ethan, and thank you for your quick replies.

I've had one other person test the page. They have Windows Vista 64bit and get the same down-the-page result in IE, fine in FF

Have asked another PC user to test for me and will post his results when I get a reply.

I'm looking for a Mac user, but not so many use IE.

Trolling around the internet, it seems others have had difficulty, for example, with IE8 and Lightbox; though not the exact same problem as I'm having. Some suggestions that perhaps it's linked-in with JQuery library.

I would like to use the Lontail suite of products for our videos, including JW Box, site-wide, but may have to drop this if I can't get it working.

I'll keep you posted.
Cheers
Stephen

@Stephen - np.

Does this page have the the same error in IE for you? - http://www.longtailvideo.com/support/jw-player/jw-player-for-flash-v4/21/jw-box-the-jw-player-lightb...

Final bit for now.

When I view this page in my IE8, JW Box works fine

http://www.longtailvideo.com/support/jw-player/jw-player-for-flash-v4/21/jw-box-the-jw-player-lightb...

What's right about this that I'm not getting?

It might be your doctype. We used this one on our page:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en" dir="ltr">

Yes! I just finished working with with a w3org validator and it was the doctype causing IE8 to render the page incorrectly.

Thank you Ethan. You rock!

Here's the validator URL for others ...
http://validator.w3.org/

Here's the doctype code I put on the first line of my page

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

Np!

Thanks Ethan LongTail! You saved my lots of time. I have a lightbox problem in IE but now working using your post. :)

Np, great! :)