PiRSquared17 / fancybox

Automatically exported from code.google.com/p/fancybox
0 stars 0 forks source link

video/SWF works once, but not second time in IE only? #69

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. I have a gallery plus one unrelated video (swf playing video) in a
fancybox. 
2. using the onclick for the video with return false, event.return false
(had problems doing it using the utube example)...
3. function loadSwf(elem) {

    $.fancybox({
            'padding'       : 0,
            'autoScale'     : false,
            'title'         : elem.title,
            'width'         : 1000,
            'height'        : 565,
            'href'          : elem.href + '?videoURL=' + elem.name +
'&thumbnailURL=videos/thumb2.jpg',
            'type'          : 'swf',
            'swf'           : {
                 'wmode'            : 'transparent',
                'allowfullscreen'   : 'true'
            }
        });

    return false;
}

What is the expected output? What do you see instead?

Works a treat in FF, but in IE6+ shows the first time, but requires a
browser restart to work again.

What version of the product are you using? On what operating system?

FB 1.3.0 using JQ 1.3.2 tried on win xp, vista and 7 using both FF & IE,
problem consistent with IE

Please provide any additional information below.

see http://www.safeswipesystems.com/ go to solutions, try the video!

Many thanks!

Original issue reported on code.google.com by jasondyk...@mjlgroup.com on 9 Mar 2010 at 9:19

GoogleCodeExporter commented 9 years ago
We have the same problem.
If you click in the FancyBox the video will appear.

Original comment by webmas...@straumann.com on 31 Aug 2010 at 10:07

GoogleCodeExporter commented 9 years ago
I have this issue with IE7 and fancybox 1.3.4
Plays the first time no problem second tiem round we have an issue.
We also have a link that fires up a player.sendEvent(load) and then issues a 
player.sendEvent(play) command. All works fien in all browsers bar IE.. any 
advice?

Original comment by mat.gr...@gmail.com on 21 Mar 2011 at 1:49

GoogleCodeExporter commented 9 years ago
Appears to be a cache issue in IE:
http://www.longtailvideo.com/support/forums/jw-player/setup-issues-and-embedding
/700/video-plays-only-once-in-ie-not-after-refreshing

going with the link above, I'm using the following as the href in my fancybox 
options to get around it...
'href': this.href + ($.browser.msie ? '?t='+ new Date().getTime() : ''),

Original comment by Logsdon....@gmail.com on 18 Jul 2011 at 4:35