- Home /
How create customize bg on facebook, unity WebGl?
Can I change facebook rightCol size? In this picture it's sidebar:
I use settings like this:
https://developers.facebook.com/docs/games/gamesonfacebook/optimizing But have problem with game BG. My index.html
<!doctype html>
<html lang="en-us">
<head>
<meta charset="utf-8">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Unity WebGL Player | EliteChessLeague</title>
<link rel="stylesheet" href="TemplateData/style.css">
<link rel="shortcut icon" href="TemplateData/favicon.ico" />
<script src="TemplateData/UnityProgress.js"></script>
<script src="9492dad40d4a0da6aef2b55bcc912d25.js"></script>
<script>
var gameInstance = UnityLoader.instantiate("gameDom", "xxxxxx.json", {onProgress: UnityProgress});
</script>
</head>
<body class="template">
<div class="wrapper" style="background-color: black">
<div class="inner">
<div class="emscripten" id="gameDom" oncontextmenu="event.preventDefault()" style="width: 100%; height: 100%; z-index: 1; position: relative;"></canvas>
</div>
</div>
</body>
</html>
I have iframe height 700px but rightCol height 1300px and as a result I see white facebook bg bottom my bg
Comment
Your answer
Follow this Question
Related Questions
WebGL, Facebook drag background image 0 Answers
Unity Webgl Connection to Google Playstore? 0 Answers
How we create multiple leaderboard of facebook without using any other server? 1 Answer
FacebookGameroom Windows Game started with Window Size 100x200 0 Answers
Facebook Login and Logout problem 1 Answer