Skip to content
This repository has been archived by the owner on Feb 23, 2023. It is now read-only.

Iframe / Flash / Firefox - Fancybox 3 #1245

Closed
xApep opened this issue Feb 25, 2017 · 5 comments
Closed

Iframe / Flash / Firefox - Fancybox 3 #1245

xApep opened this issue Feb 25, 2017 · 5 comments

Comments

@xApep
Copy link

xApep commented Feb 25, 2017

Hi.
I have some strange issue. With fancybox 2 everything was fine on firefox now, I've changed to fancybox 3 and I'm having some issue.

I'm using fancybox 3 for displaying virtual tour (link) in iframe. If it means anything the tour is made in flash. When I open iframe the music is playing but there is no "picture", I also get js error "Error: Permission denied to access property "href"" when iframe is showen.

On chrome everything works fine, also on the previous fancybox version there was no issue.

Any idea what could be an issue?

Thanks.

@fancyapps
Copy link
Owner

Hi,

Sorry, I have no idea what could cause this issue. The script does not control content inside iframe, it is up to the browser.

Maybe you could show a demo? Have you tried disabling preloading (using "iframe: { preload: false }")?

Also, when you were using v2, did you really use the same file? Maybe you were displaying flash file directly, not inside iframe? V3 does not handle swf files, but you can build an object and display it as html, e.g., $.fancybox.open('');

@fancyapps
Copy link
Owner

Any luck?

@xApep
Copy link
Author

xApep commented Mar 1, 2017

Hi.

Don't know how but could we speak on private (e-mail, skype)? I can show you the demo, but right now it's not for public.

For v2 / v3 everything was the same (urls, ...) only fancybox was changed.

Thanks.

@fancyapps
Copy link
Owner

You can DM on twitter https://twitter.com/thefancyapps

@fancyapps
Copy link
Owner

Turns out that this issue is caused by this ff bug - https://bugzilla.mozilla.org/show_bug.cgi?id=644832 - and setting "wmode=transparent" for flash element seems to fix this.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants