Video doesn't stop playing in Safari/Internet Explorer

782 views
Skip to first unread message

DFischer

unread,
Mar 16, 2009, 4:56:21 PM3/16/09
to fancybox
I'm loading a flash video via iframe with fancybox.

If I press play, and the video plays with sound then press close in
Firefox the sound will stop playing and the video disappears.

Great.

However in Safari and Internet Explorer the video/modal will disappear
however the sound keeps playing.

Is this an iframe problem? Anyone have a solution to this? Emptying a
div or something?

Janis

unread,
Mar 16, 2009, 5:16:28 PM3/16/09
to fancybox
It`s already been reported. As a quick solution, you could empty
#fancy_content inside callback function on closing.

Janis

DFischer

unread,
Mar 16, 2009, 5:38:39 PM3/16/09
to fancybox
$("a[rel=fancybox], .fancybox").fancybox({
'overlayShow' : false,
'zoomSpeedIn' : 600,
'zoomSpeedOut' : 500,
'easingIn' : 'easeOutBack',
'easingOut' : 'easeInBack',
callbackOnClose: function() {
$("#fancy_content").html(" ");
}
});


that? It doesn't seem to be working...

Janis

unread,
Mar 17, 2009, 4:03:42 AM3/17/09
to fancybox
$("#fancy_content").empty(); should do the trick.

Janis

Cogswell

unread,
Apr 13, 2009, 5:46:18 PM4/13/09
to fancybox
This works on all browsers except safari. The audio keeps going in
Safari, strange. Here is an example http://laurencewallace.com/main.php
click one of the videos.

Anyone know a different method??

Cogswell

unread,
Apr 23, 2009, 10:57:52 AM4/23/09
to fancybox
Anyone?? I would really appreciate some help.

On Apr 13, 5:46 pm, Cogswell <adamr...@email.com> wrote:
> This works on all browsers except safari. The audio keeps going in
> Safari, strange. Here is an examplehttp://laurencewallace.com/main.php

JFK

unread,
Apr 23, 2009, 1:16:48 PM4/23/09
to fancybox
I looked at the source code of your site http://laurencewallace.com/main.php

replace the line
------------------------------------------
callbackOnClose: function() {
$("a.iframe").empty;
}
---------------------------------------
by this one:
--------------------------------------------
'callbackOnClose': function() {
$("#fancy_content").empty();
}
-----------------------------------------
don't miss the quotation marks around 'callbackOnClose'
it should work now!

Ufuk

unread,
May 30, 2009, 4:41:03 PM5/30/09
to fancybox
Hi

if you click the map in the link you can see what I mean,
http://www.ilkyardimailkadim.org/Test/Rota.aspx

the size of swf file is bigger than the frame. and the links on map
are not working to.

where can be the problem?

thanks!

On 23 Nisan, 20:16, JFK <jfk.d...@gmail.com> wrote:
> I looked at the source code of your sitehttp://laurencewallace.com/main.php

samwo...@googlemail.com

unread,
Jun 15, 2009, 6:30:58 AM6/15/09
to fancybox
has anyone got this working its driving me mad trying to sort this
out?
On Apr 23, 6:16 pm, JFK <jfk.d...@gmail.com> wrote:
> I looked at the source code of your sitehttp://laurencewallace.com/main.php

ken harper

unread,
Jun 25, 2009, 10:46:37 PM6/25/09
to fancybox
Hey Sam,

I got this to clear the div "fashion" onClick:

$("a.fashion").click(function () {
var htmlStr = $(this).html();
$(this).text(htmlStr);
});


You can see it working here: http://ironcladimages.com, just click the
"Revo fashion" link.


Peace.


k

On Jun 15, 6:30 am, "samwood2...@googlemail.com"
Reply all
Reply to author
Forward
0 new messages