JunYoung7

server file for Android

<!DOCTYPE html>
<html>
<body>
<div style="position:absolute; top:-400px; left:-242px;border:0px solid black">
<iframe src="http://114.108.69.93:9999/stream.html" width="760" height="770" scrolling="no" frameborder="0"></iframe>
</div>
</body>
</html>
img
{
border: 3px solid red:
width: 100px;
height: 100px;
float:right;
}
<!DOCTYPE html>
<html>
<head>
<title>실시간 스트리밍</title>
<meta charset="utf-8"/>
<style>
body {
margin:30px;
font:1em "맑은 고딕",Cambria,Georgia,sans_serif;
}
img.static{
position: static;
}
</style>
</head>
<body>
<img src = "icon.png" class="static" height = "100px" width = "100px">
<div>
<iframe src="ifames.html" width="1000" height="500" scrolling="no" frameborder="0">
<p>Your browser does not support iframes.</p>
</iframe>
</div>
</body>
</html>
var http = require('http');
var fs = require('fs');
var app = http.createServer(function(request,response){
var url = request.url;
if (request.url == '/'){
url = '/index.html';
}
if (request.url == '/favicon.ico'){
return response.writeHead(404);
respond.end();
return;
}
response.writeHead(200);
response.end(fs.readFileSync(__dirname + url));
});
app.listen(3000);