Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
1
Question by Gillissie · Mar 24, 2011 at 08:44 PM · playerwebplayerweboverlay

web player overlays HTML layers

I have a Unity web app running on a Facebook canvas. The Facebook layers for things like the notifications dropdown and request popups are covered up by the Unity player. Is there a way to change this so the HTML layers display on top of the Unity player as expected?

This is happening on Firefox 3.6 for Mac and IE in Windows, so I don't think it's a specific browser issue.

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

2 Replies

· Add your reply
  • Sort: 
avatar image
0
Best Answer

Answer by Gillissie · Apr 12, 2011 at 07:17 AM

I'm assuming that the lack of an answer means this isn't possible. However, I have come up with a workaround for Facebook iframe dialogs. If you set the CSS visible property of the Unity div tag to "hidden" right before showing the Facebook dialog, then you can see the dialog. Set the dialog's callback function to set the visible property back to "visible" so you can see it again after the dialog goes away.

This doesn't solve the Facebook messages dropdown from being covered up, but that's less important than the dialogs triggered by the game.

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image bjsion · Jul 27, 2011 at 03:21 PM 0
Share

I am experiencing a similar issue. I was wondering if there was any other suggestions? Is this issue related to the setting that keeps the Unity plugin listening for input even when it is not the active window?

avatar image
1

Answer by Numid · Aug 14, 2012 at 07:48 PM

There's one way to display HTML over Unity Web content: you have to use a fully opaque IFRAME element.

This has been tested with major browsers/O.S. configurations and it seems to work fine..

You can read more about this finding in the following thread: http://forum.unity3d.com/threads/88849-javascript-lightbox-over-unity-web-app.

By the way, I still don't know how this works...

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

2 People are following this question.

avatar image avatar image

Related Questions

Web Player Disable Mouse Look 1 Answer

Error installing WebPlayer 1 Answer

Failed to Update Unity Web Player on multiple browsers 0 Answers

RMB no longer works in UNITY web player 2 Answers

Change Web Player Size? 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges