-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
91 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
module.exports = Remote.inherits( autodafe.Controller ); | ||
|
||
function Remote( params ) { | ||
this._init( params ); | ||
} | ||
|
||
|
||
Remote.prototype.show = function(params, client){ | ||
this.send_response( 'remote', client, { | ||
obj_name : params.model || 'ember', | ||
width : params.width || 700, | ||
height : params.height || 400 | ||
} ); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>Ember</title> | ||
</head> | ||
<body> | ||
Text on the page.. <br> | ||
|
||
<iframe src="http://autodafe.ws:3000/remote?width=1100&height=700" frameborder="0" width="1100" height="700"></iframe> | ||
<br> | ||
|
||
after iframe | ||
</body> | ||
</html> |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | ||
<html xmlns="http://www.w3.org/1999/xhtml"> | ||
<head> | ||
<title>{obj_name}</title> | ||
<script type="text/javascript" | ||
src="http://webplayer.unity3d.com/download_webplayer-3.x/3.0/uo/UnityObject.js"></script> | ||
<script type="text/javascript"> | ||
<!-- | ||
function GetUnity() { | ||
if (typeof unityObject != "undefined") { | ||
return unityObject.getObjectById("unityPlayer"); | ||
} | ||
return null; | ||
} | ||
if (typeof unityObject != "undefined") { | ||
unityObject.embedUnity("unityPlayer", "/WebPlayer/{obj_name}.unity3d", {width}, {height}); | ||
} | ||
--> | ||
</script> | ||
<style type="text/css"> | ||
body { | ||
background-color : white; | ||
color : black; | ||
} | ||
|
||
div.missing { | ||
margin : auto; | ||
position : relative; | ||
top : 50%; | ||
width : 193px; | ||
} | ||
|
||
div.missing a { | ||
height : 63px; | ||
position : relative; | ||
top : -31px; | ||
} | ||
|
||
div.missing img { | ||
border-width : 0px; | ||
} | ||
|
||
div#unityPlayer { | ||
cursor : default; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<div id="unityPlayer"> | ||
<div class="missing"> | ||
<a href="http://unity3d.com/webplayer/" title="Unity Web Player. Install now!"> | ||
<img alt="Unity Web Player. Install now!" src="http://webplayer.unity3d.com/installation/getunity.png" | ||
width="193" height="63"/> | ||
</a> | ||
</div> | ||
</div> | ||
</body> | ||
</html> |