View Full Version : fancy box
aqeel
12-09-2011, 07:09 AM
hi friends im using fancy box in my site to open a page in it but fancy box opening all other pages but not google , youtube and google maps not opening in fancy box. please anyone can help me about this issue.
jscheuer1
12-09-2011, 04:09 PM
Lately, Google - which I believe runs or is closely associated with YouTube has taken to not allowing their content to appear in iframe. The solution might be to make a page on your site that shows the content you want. Then put that page in a Fancy Box iframe. But it might be more complicated than that. Like you should be able to easily create a page with a YouTube video on it. And one with a Google Map on it. But if you want to show Google search results with a custom query URL, you may need to create a Google Custom Search account (they're free) and make a page for that and show that in the Fancy Box iframe. Still there may be problems, and if Google is very determined not to allow any of their content to be in an iframe, it may be impossible. However, there are forums for Google and YouTube where they can probably help if there is a specific part of the API that would allow iframe for the content. YouTube has a new interface which is itself an iframe. If you were to use it's src attribute as the src attribute for the Fancy Box iframe, that might work out for the video.
If you want more help:
Please post a link to a page on your site that contains the problematic code so we can check it out.
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.