fancybox seemingly cannot load any swf/flash content under IE6

56 views
Skip to first unread message

Kevin Kamel

unread,
May 3, 2011, 6:18:44 PM5/3/11
to fancybox
Hi,

Long time user, first time poster.

Recently received notice that our company videos (hosted on blip.tv)
were no longer viewable under IE6. I did some investigation and in
fact they are not viewable.

At first I thought this was related to the ongoing http/s mixed
content alert on IE6 (which is seemingly not acknowledged as broken by
the core developer?), but it's not. This is a problem unto itself.

Has anyone else seen this? You can reproduce the issue by simply
going to http://fancybox.net and trying to view the swf example on the
home page - it won't work.

If anyone has any workarounds I'd love to hear them. A huge part of
Asia still relies on IE6 for their browsing needs, and I'd like to
continue to support them.

thanks,
Kevin Kamel
MailerMailer LLC

JFK

unread,
May 3, 2011, 10:23:02 PM5/3/11
to fancybox
the examples in fancybox.net work in IE6

On May 3, 3:18 pm, Kevin Kamel <kamel...@underprint.com> wrote:
> Hi,
>
>   Long time user, first time poster.
>
>   Recently received notice that our company videos (hosted on blip.tv)
> were no longer viewable under IE6. I did some investigation and in
> fact they are not viewable.
>
>   At first I thought this was related to the ongoing http/s mixed
> content alert on IE6 (which is seemingly not acknowledged as broken by
> the core developer?), but it's not. This is a problem unto itself.
>
>   Has anyone else seen this? You can reproduce the issue by simply
> going tohttp://fancybox.netand trying to view the swf example on the

Kevin Kamel

unread,
May 9, 2011, 12:20:14 PM5/9/11
to fancybox
Yes, you're right, they do run correctly. I apparently had a cached
copy of a bad changeset while trying to fix the IE6 SSL problem, which
I did make some progress on...

Ultimately the problem relates to a void context variable, something
that causes a mixed-content error 100% of the time on IE6.

I'm not sure what problem you were trying to solve by using
referencing src="javascript:void(false)", but you seemingly do so only
for IE6. Since this can never work in IE6 (at least the most recent
version of it), maybe it can be reverted?

In your prior code you referenced src=javascript:'', which has so far
worked as I'd expect - but I haven't deployed the code to my users yet
to be 100% sure.

Anyways, to be clear, the following things helped me out quite a bit,
and I've found other posts where people are complaining, so perhaps
just take a minute to review:

===================================================================
--- trunk/docs/js/jquery/jquery.fancybox.js 2011-05-03 22:30:13 UTC
(rev 5710)
+++ trunk/docs/js/jquery/jquery.fancybox.js 2011-05-03 23:06:22 UTC
(rev 5711)
@@ -943,7 +943,7 @@
$(window).unbind("resize.fb scroll.fb");
$(document).unbind('keydown.fb');

- content.find('iframe').attr('src', isIE6 && /^https/
i.test(window.location.href || '') ? 'javascript:void(false)' :
'about:blank');
+ content.find('iframe').attr('src', isIE6 && /^https/
i.test(window.location.href || '') ? 'javascript:\'\'' :
'about:blank');

if (currentOpts.titlePosition !== 'inside') {
title.empty();
@@ -1090,7 +1090,7 @@
loading.addClass('fancybox-ie6');
wrap.addClass('fancybox-ie6');

- $('<iframe id="fancybox-hide-sel-frame" src="' + (/^https/
i.test(window.location.href || '') ? 'javascript:void(false)' :
'about:blank' ) + '" scrolling="no" border="0" frameborder="0"
tabindex="-1"></iframe>').prependTo(outer);
+ $('<iframe id="fancybox-hide-sel-frame" src="' + (/^https/
i.test(window.location.href || '') ? 'javascript:\'\'' :
'about:blank' ) + '" scrolling="no" border="0" frameborder="0"
tabindex="-1"></iframe>').prependTo(outer);
}
};
===================================================================

On May 3, 10:23 pm, JFK <jfk.d...@gmail.com> wrote:
> the examples in fancybox.net work in IE6
>
> On May 3, 3:18 pm, Kevin Kamel <kamel...@underprint.com> wrote:
>
>
>
>
>
>
>
> > Hi,
>
> >   Long time user, first time poster.
>
> >   Recently received notice that our company videos (hosted on blip.tv)
> > were no longer viewable under IE6. I did some investigation and in
> > fact they are not viewable.
>
> >   At first I thought this was related to the ongoing http/s mixed
> > content alert on IE6 (which is seemingly not acknowledged as broken by
> > the core developer?), but it's not. This is a problem unto itself.
>
> >   Has anyone else seen this? You can reproduce the issue by simply
> > going tohttp://fancybox.netandtrying to view the swf example on the

JFK

unread,
May 9, 2011, 7:49:37 PM5/9/11
to fancybox
hope the developer will read your comments (Janis is the man) and will
address your issues if he thinks they are important
other than that I just can say I have many sites running swf/flash in
fancybox with no issue with IE6
and as far as I am concerned, I haven't seen anybody
"complaining" (you may complain when you are paying for something)
since we try to solve most of the questions and help people out here
with their issues, including those with IE6
> > > going tohttp://fancybox.netandtryingto view the swf example on the

Kevin Kamel

unread,
May 15, 2011, 1:16:12 PM5/15/11
to fancybox
Changeset above applies for IE6 running under SSL only. It works super
perfecto other than that.

There are other threads where people have inquired about this that are
seeming deadends, so hopefully people will find this if they need it
for an sal site like I did.

Thanks for the product

-K
> > > > going tohttp://fancybox.netandtryingtoview the swf example on the
Reply all
Reply to author
Forward
0 new messages