- Home /
Unity Webplayer causes page to scroll to its bottom edge
Hi All,
I have a unity webplayer imbedded on my website, but far enough down the page that the user should have to scroll to get to it.
As soon as the page has finished loading, and the unity webplayer's loading screen appears, the website scrolls to the frame that the webplayer is held in. I have edited the html embed code, but it seems the call is within the Unity u.initPlugin ( jQuery ( #div , content ) );
I've set the program to run in the background, but I'm not sure if there's much else I can do. I don't want to have to wait for my program to load and then call a script on the site to scroll back, as the site will then still be scrolled down whilst the player is initially loading.
Anyone had this issue before?
Answer by allenwp · May 09, 2014 at 02:36 PM
Take a look at the answer here: http://answers.unity3d.com/questions/593950/prevent-unity-web-player-from-seizing-the-focus.html
It's not a great solution, but it's the best option I've been able to find...
Your answer
Follow this Question
Related Questions
Automatically create enum based on class children types? (C#) 1 Answer
Simple index out of range question? 1 Answer
SharpCompress.3.5, I can't run it in a web player 0 Answers
Getting Information from Web Pages 1 Answer
2D Parallax Background 4 Answers